Unify History and Gains under a single Stats class