Added comments. Generated java-docs.