Allow dynamic arguments count in ClassProxy