Add method to baseclass for easy deletion of object. Add methods for replacing and purging materials.