Adding some validity checking to new schema objects