Change MapNodes and Maps to use factories.