Add callback argument to track completion of dump

Minor style issue: blank line before the brace that closes the namespace.