Role methods without block now works properly.
Moved file generation into DiagramGenerator.