Implemented abstract FoldCalculator; compiles.