Add before_bind_events event