Implemented support for custom paths.