Removing deprecated code.