Add a MapHelper to handle general map function