Rename global import to avoid problems.
Rename enum fields to names that differ from the data structure they contain.