Core functionality for java client libraries.