fixed incorrect path() documentation. Closes #574