Moving withLifeCycle() to WithLifeCycleManager trait.