_addToCleanup was declared twice.