Adding more java documentation