Support validation conditions with :if and :unless