Added Material class.