[Olena-patches] milena r3754: Tidy source code of new functions, renamed trait::fun to trait::function