Transform/extension methods

New phase ported: extension methods
Comment is wrong