Calculators factories refactoring.