Added getCurrent and getParentMaterial