code: public static void removeAnnotations(String[] conn,
  			String... annotationsToDelete) throws UIMAException, IOException {
  		CollectionReader cr = createReader(
  				MongoCollectionRemover.class,  PARAM_DB_CONNECTION,
  				conn, PARAM_DELETE_ANNOTATIONS, annotationsToDelete);
  		AnalysisEngine noAE = AnalysisEngineFactory
  				.createEngine(StatsAnnotatorPlus.class);
  		SimplePipeline.runPipeline(cr, noAE);
  		LOG.debug("done removing annotations");
  	}
docs: Convenience function