Pass cfg to Processor's __init__