Flexible validation objects