Add scala library.