Add ability to generate classes from just the metadata.
Closes #9