Updating javadocs for 2.40.0