Cleanup and consensus