improve messaging abstractions
improve legacy transformation of enums