Added enumeration type based on compound.