Add new API for client library