Correctly init proxy_class for new images