Made vertices and material serialized fields. Handle custom materials.