Make config a property of this in the replacer fn