Changing javadocs to remove warnings