Initial add of client API and implementation.