Add LifeCycle example.