Minor: adds some javadocs