define(['underscore', 'appearanceUtils'], function(_, utils) {
   var constructor = function(data) {
      _.extend(this, data);

      var computeSignatures = function(unsorted) {
         var signatures = {};
         var users = {};

         // Contains all signatures that are active
         signatures.current = [];
         // Contains all signatures that are inactive from users without signatures in current
         signatures.old = [];
         // Contains the most recent signature from the current user
         signatures.user = null;

         unsorted.forEach(function(signature) {
            if (signature.data.active) {
               signatures.current.push(signature);
               users[signature.data.user.id] = true;

               if (utils.mySig(signature)) {
                  signatures.user = signature;
               }
            } else if (!users[signature.data.user.id]) {
               signatures.old.push(signature);
               users[signature.data.user.id] = true;

               if (utils.mySig(signature)) {
                  signatures.user = signature;
               }
            }
         });

         return signatures;
      }

      this.cr_signatures = computeSignatures(this.status.allCR);
      this.qa_signatures = computeSignatures(this.status.allQA);
   };

   _.extend(constructor.prototype, {
      url: function() {
         return 'https://github.com/' + this.head.repo.owner.login + '/' + this.head.repo.name + '/pull/' + this.number;
      },

      update: function(data) {
         _.extend(this, data);
      },

      dev_blocked: function() {
         return this.status.dev_block.length > 0;
      },

      deploy_blocked: function() {
         return this.status.deploy_block.length > 0;
      },

      qa_done: function() {
         return this.status.QA.length >= this.status.qa_req;
      },

      cr_done: function() {
         return this.status.CR.length >= this.status.cr_req;
      },

      /**
       * Note that this is not the same as the "Ready" column: pulls which are
       * deploy_blocked return true for ready. It is, however, the base concept
       * on which both the "deploy_blocked" and "Ready" columns are based.
       */
      ready: function() {
         return !this.dev_blocked() && this.qa_done()
         && this.cr_done() && this.build_succeeded();
      },

      author: function() {
         return this.user.login;
      },

      is_mine: function() {
         return this.author() === App.user;
      },

      hasLabel: function(labelName) {
         return _.some(this.labels, function(label) {
            return label.title === labelName;
         });
      },

      getLabelTitlesLike: function(labelRegex) {
         var titles = _.map(this.labels, function(label) {
            var matches = label.title.match(labelRegex);
            return matches ? matches[1] : null;
         });

         return _.filter(titles, function(title) { return title; });
      },

      getLabel: function(labelName) {
         return _.findWhere(this.labels, {title: labelName});
      },

      build_status: function() {
         var status = this.status.commit_status;
         return status && status.data.state;
      },

      build_failed: function() {
         var status = this.build_status();
         return status == 'failure' || status == 'error';
      },

      build_succeeded: function() {
         return this.build_status() === 'success';
      }
   });

   return constructor;
});

@@ -162,24 +162,26 @@
 unction(
-unsorted
+signatures
 ) %7B%0A    
@@ -189,25 +189,21 @@
     var 
-signature
+group
 s = %7B%7D;%0A
@@ -285,33 +285,29 @@
 ve%0A         
-signature
+group
 s.current = 
@@ -410,33 +410,29 @@
 nt%0A         
-signature
+group
 s.old = %5B%5D;%0A
@@ -505,33 +505,29 @@
 er%0A         
-signature
+group
 s.user = nul
@@ -543,16 +543,18 @@
     
-unsorted
+signatures
 .for
@@ -636,25 +636,21 @@
         
-signature
+group
 s.curren
@@ -781,33 +781,29 @@
             
-signature
+group
 s.user = sig
@@ -899,25 +899,21 @@
         
-signature
+group
 s.old.pu
@@ -1044,25 +1044,21 @@
         
-signature
+group
 s.user =
@@ -1130,25 +1130,21 @@
  return 
-signature
+group
 s;%0A     

Rename variable again