Remove dependency on cookie module.