Add batcher and supervisor for the metadata API