Fixed lifecycle example.