Allow alloc and task runners to persist their own state when something changes instead of periodically syncing all state.