Generate an immutable bean with no properties correctly
Immutable beans should handle nullable fields

Fixes #20