Added implementation for unregisterHandlers