Fixed up the dao to not create new documents when not needed, starting map implementation with certain surfaces.