Added support for specifying a callback executor.