Get the enum values right.