Updated validation API