Functionality common to the different DIME libraries, but not necessarily part of magma.