Proxy replacer have factory for easier constructing