Removed event dispatcher-related code.