Performed some cleanup on the interpreter.