Change validation interface to support params