 
   /** private */
   _createView = function (name, dropFirst) {
-    var klass = featherbone.getClass(name),
+    var parent, alias, type, view, sub, col, key,
+      klass = featherbone.getClass(name),
       table = name.toSnakeCase(),
       args = ["_" + table, "_pk"],
       props = klass.properties,
       cols = ["%I"],
-      sql = "",
-      parent,
-      alias,
-      type,
-      view,
-      sub,
-      col,
-      key;
+      sql = "";
 
     for (key in props) {
       if (props.hasOwnProperty(key)) {

      i = 0,
      oldObj,
      newObj,
      key;

    while (i < ary.length) {


      oldObj = JSON.parse(JSON.stringify(ary[i]));
      newObj = {};

      for (oldKey in oldObj) {
        if (oldObj.hasOwnProperty(oldKey)) {

          /* Remove internal properties */
          if (oldKey.match("^_")) {
            delete oldObj[oldKey];
          } else {
            /* Make properties camel case */
            newKey = oldKey.toCamelCase();
            newObj[newKey] = oldObj[oldKey];

            /* Recursively sanitize objects */
            if (typeof newObj[newKey] === "object") {
              newObj[newKey] = newObj[newKey] ? _sanitize(newObj[newKey]) : {};
            }
          }
        }
