Add type parameter to Proxy to workaround dart2js bug 14729