Renamed path method to baseDir. Fixes #6.