Added missing path conversion and some documentation.