Silenced a deprecation warning.