Simplify validate api