Added generated javadoc, fixed some typos