Rewrites wai-lang plugin