Made cookie_domain an attribute