Relation Exception and Small tidying

Will need a couple more lines from changes in next commit to be
buildable.
Triple Relation.

Not sure if this should stay...