Adding support for custom paths.