Rename IsDict, to IsDictOf.
Add additional validation functions for mkfiles.