enableCookies is static method now