Adds HandlerMap for manipulating and tracking handlers.