Add /types/:id/works route.