Remove old style call to relationship functions from route get '/:class/:id'.