Added lifecycle examples.