Add links to middlewares