I guess we were not confident about the iterating order that we got from FOREACH, as we need to access the executor in order.

No problem. I will change the API to use BOOST_FOREACH.