Added validator for keywords