Extract config creation to method