Added a couple of helper methods to the executor