Making action_spec->flags into an unsigned long rather than just an