Added in the materials tab stuff.