Silenced warnings around deprecated code.