Use scala library.