Added stuff required for the mainExecutor