adding URI rewriter capability