[Olena-patches] milena r3623: Clean new fun implementation