   
   # indicates that a given attribute is actually a Collection. Adds the correct settings to
   # the association hash.
-  hasMany:   (name, collection) -> 
+  hasMany:   (name, collection) ->
     @associations[name] = { model: collection, associationType: 'hasMany' }
     
   # indicates that a given attribute is actually a Model. Adds the correct settings to
   # the association hash.
-  hasOne:    (name, model)      -> 
+  hasOne:    (name, model)      ->
     @associations[name] = { model: model, associationType: 'hasOne' }
   
   # Actually calculate and set the derived fields in the prescribed order as
   # specified by the derivation chain.
-  _executeDerivations: ->  
+  _executeDerivations: ->
     for derivation in @derivations
       result = {}
       result[derivation.field] = derivation.func(@)

      @grid.render()
    
    # Tell the grid that a model has been removed from a SlickBone.Collection.
    @bind 'remove', (model) => 
      @grid.updateRowCount()
      @grid.render()
    

      @sort()
    
    # Tell the grid when a model is added to SlickBone.Collection.
    @bind 'add', (model)  =>
      @grid.updateRowCount()
      @grid.invalidateRow(@length - 1)
      @grid.render()
