Make compile, clear cookie deprecation warnings