Fixed index type for material Get().