Added the ability to get path data (thanks to @kukulski)