Added java docs. Generated docs.