Using newly introduced generator strategy to generate the proxy class (incomplete)