Added InternalsVisibleTo("DynamicProxyGenAssembly2") for proxying.