Merge "Move scalar function implementations from  into driver/runtime."