Added class to split relationships into separate groups