Introduce GMExecutor interface so GMBatchCommand can work with either a service or a connection.