More pythonic in validators.