has a middleware registrar