Slight code cleanup for pulse accumulator module