Add destroy to compute, refactorings for destroy.
Use before for interpreter create.