Adding a 'purge' instance method for clearing a collection's objects easily.