adding activity method to Material

personally I dont like 'using' although this is usually at the file scope level, as it often makes it hard to locate where things are, it makes things more verbose, but I think ease of understanding is more important. I have no idea what the SG says rergarding this.