A utilities collection for c