Adds specs for disallowing YAML and symbol types
Adds implementation for disallowing YAML and symbol types