Add process_action_tuples method.