A set of utilities for writing cap tasks.