[WIP] Start support for multi-relation types.