Class should be validate_text, not just text.