Transform defun expressions into Fun nodes, might still need some cleaning up...