First pass at implementing has_one and belongs_to relationships.