wrap array methods on ResourceProxy when they are first used