Fixes #2: generate create static method to control linefeed