Scala client implementation is now up to same level as Java API.