Save enum type with string.