Added support for prependPath.