Adding another assertion on rel type.
Fixing up some formatting.