Added cookie-disabling support. Fixed "Non-static method .. can be called on.." strict error messages.