Handle references to fields with inheritance in closures.
Check for number of field overflow.