Functions of scala type FuncObj