Generalize standard get and delete routes.