Converted jjutilities as scala written object.