Moving generated proxy code