Add map factory.