Clean up data dumping routines.