Implement part of client library.