Remove unused event handler.