Add missing getter to unit formatter