Add processing for HasOne relations.  So far untested