Removed 'identifier' parameter from AlertedWeakSet constructor. It now only accepts callback as a parameter.
Updated AlertedWeakSet tests according to class change.
CookiesMiddleware: updated AlertedWeakSet constructor parameters.