Change typespecs for validate_with_schema/{2,3}