Encoding an enum was never useful