Struct type binding fix for require/typed