Add checks for Text elements.