Removes deprecated code.