Add documentation to calculator.