Added validator for 'dom'