Bump version number to 3.0.0.
Update javadoc.