Change entry state/type to enum in ATTEntry.