Remove useless event handlers