plese use XXX::purge instead since they are static method, no need to call getInstance().