from_dict class method for referents