Cleanup an import