Implemented clickable relations, borrowing heavily from entities.