Utilities for working with ledgers.