Add material parsing