Added possibility to get sender in the handlers.