diff --git a/api/models/index.js b/api/models/index.js
index <HASH>..<HASH> 100644
--- a/api/models/index.js
+++ b/api/models/index.js
@@ -1,8 +1,10 @@
-var customModels = module.exports = {
+var CustomModelPrototype = require('./CustomModel')
+
+module.exports = {
 	process: process
 }
 
-var CustomModelPrototype = require('./CustomModel')
+var customModels = module.exports
 
 function process(modelDescriptions) {
 	for (var modelName in modelDescriptions) {
Organize the imports, exports and state declarations as usual