Removes some dead code from LifecycleEventRelay