Some updates to the scala client.