Add type definition validations