Don't use deprecated assertions.