ToText extension
HasClass extension