Add some lifecycle validation.

done.