I thought it might make sense to make `Jails` and `Actions` as mapping types, which seems to have simplified these parts some what.