MAINT remove deprecated code from preprocessing