/**
 * Sets Up Methods
 * @param {Object} instance
 */
const initMethods = function(instance, methods) {
  const initMethod = function(methodName, method) {
    instance.$data[methodName] = function() {
      return method.apply(instance, arguments);
    }
  }

  for(const method in methods) {
    initMethod(method, methods[method]);
  }
}

@@ -44,16 +44,42 @@
 nstance%0A
+ * @param %7BArray%7D methods%0A
  */%0Acons
@@ -212,42 +212,16 @@
 e%5D =
- function() %7B%0A      return
  method.
 appl
@@ -220,13 +220,12 @@
 hod.
-apply
+bind
 (ins
@@ -233,27 +233,10 @@
 ance
-, arguments);%0A    %7D
+);
 %0A  %7D

update initMethods