Add DoublingRatio class