Refactoring recipes for ProxyFactory