Unsafe proxies and custom scope