Consolidate event handler removal with namespace.