Remove unused code from Ledger service