Removed useless event handler registration