Relationship class implemented.