Removing relations as a function; we need to be able to manipulate those as an array in several places. Ref #415.