Add support for prioritized actions.