removed deprecated features from the map/reduce code