Add Ledger's major mode.