Get rid of deprecated code.