add pathPrefix related methods