Initialize _mesh to None.
Changed format keyword to fmt.