Clean up calculator.