Remove legacy implementations of stake reward calculation.