Fixed type typo with a map.