Added and generated new javadoc for all methods.