Added Javadoc.
Fixed class cache