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