Added context shredder function