Fixing proxy and genclass