Add prefix argument to route creation APIs.