Pulling the actions into a map.