Add basic validation framework