Added cast operations to maps.