Adding render and remove events.