Fixed a few bugs.
Fixed metaschemas not being found.