allow callable generators from config