Remove dependencies between Validator and Element.
String validator
Regex validator