SI-5875 fixes free methods reification
It converts free methods to functions during the reification in order to
pass them as a value and it fixes the free methods wrapping during the
reification's output compilation.