Ported calculator module.