Material parser.