Improve Text API Javadocs.