Can set the class of a relationship
Better to_class method.