writer.emitPackage() itself emits an empty line. Was two empty lines intentional?