Refactored proxy generator into a configuration setting