Change from middleware/Rest to io/Rest.