Allow config passing