restore parser's enumerated attributes to help with versioned parsers