InstancedMesh made fully generic.