Add 'Text' class. Check the enum (text type) variable