Added support for Material parsing. In theory.