Make scala example more in line with others.