Base validator implemented.