Fix generating without pretty printing