Added correct javadoc to classes.