Commented and generated the Javadoc.
Mistakes