Give Obj.map function access to key