Here's the patch for the deprecated code.