get rid of managedstruct/unmanagedstruct PMC