Mark several Ledger member functions as const.