Added javadoc comments for all public types.