Convert POE::Resource::Extrefs into a proper class.