Update javadoc
Change to use constructor over #setPathName