add mapping protocol to objects