fixes #9. Empty constructor requirement was removed for types that can be used in protobuf.
However it is convenient to have them in the generated code.