More scala code.