Fixes #49. Also suppressed the annoying messages to System.out produced by the generator code.