Reducing exposure to scala library.