Fix #20, convert public docs to javadoc.