Update javadoc for 2.0

fixes #140