Add some lifecycle validation.

If you remove name you can set name to "" here