Renamed type to type_ in PEResource to align with new conventions