Remove all the deprecated code.