remove unused methods from TaskExecutor