Simplify LifecycleEnvironment.
More clean up.