#82 Fixing nested types causing method name error on constructor