Add and incorporate ::create_resource method