make PolymorphicProtobufRecord inherit