Added events for easy hooks