Rebinding instancemethod attributes to proxy for untrusted allowed methods