Refactor the relations endpoints to add a `RelationsHandler`.