Fix correct hook update.
Bug fixes and other minor improvements.
Fixed issue #3143278: Cookie declaration language