Basic support for custom formats; fix #1
About custom formats/generators
About generators and custom formats; fix #2