Rewrite podpath & pmpath, accept multiple modules