Simple validation.