import pick from 'lodash/object/pick';
import isEmpty from 'lodash/lang/isEmpty';
import isArray from 'lodash/lang/isArray';
import isFunction from 'lodash/lang/isFunction';

export default function createModule({ stores, actions, getters }) {
  return (name, target, reactor) => {
    if (!isEmpty(stores)) {
      reactor.registerStores(stores);
    }

    target.actions[name] = pick(actions, isFunction);
    target.getters[name] = pick(getters, isArray);
  };
}

import isEmpty from 'lodash/lang/isEmpty';

export default function createModule({ stores, actions, getters }) {
  return (name, target, reactor) => {
    if (!isEmpty(stores)) {
      reactor.registerStores(stores);
    }

    target.actions[name] = actions;
    target.getters[name] = getters;
  };
}

--- 
+++ 
@@ -1,7 +1,4 @@
-import pick from 'lodash/object/pick';
 import isEmpty from 'lodash/lang/isEmpty';
-import isArray from 'lodash/lang/isArray';
-import isFunction from 'lodash/lang/isFunction';
 
 export default function createModule({ stores, actions, getters }) {
   return (name, target, reactor) => {
@@ -9,7 +6,7 @@
       reactor.registerStores(stores);
     }
 
-    target.actions[name] = pick(actions, isFunction);
-    target.getters[name] = pick(getters, isArray);
+    target.actions[name] = actions;
+    target.getters[name] = getters;
   };
 }
Create module should not expose babel properties
