Bug fix in meta data reading, and some other stuff.
Generators and documentation.