Added 'validates' utility