Cleaned up AppDefinition subtype constructors.  Made constraint (de)serializers singletons.