#354 fix. Constructor can be null for nested types.
Merge pull request #14 from raol/354-fix

#354 fix. Constructor can be null for nested types.