Added support for multiple executors.