Right on entry to this transform Functions are going to be nested inside methods, constructors, and field definitions. Only after this transform are they "flattened" to classes.