Make the ProxyObjectConstruction more flexible with pattern difinitions