Properly manage handlers.