Replace the old utilities.validate_args functions