Adapt deprecation checks to changed messages