Make dump() and dumpAll() statics