     @property 'uuid'
   
     @method 'setUuid', (newUuid) ->
-      unless @_uuid    
+      unless @_uuid
+        newUuid = String newUuid
+        
         # Insert object in global index
         ST.Model._byUuid[newUuid] = this
     

            not:        _not
          }
        equals: (value) ->
          {
            type:       'equals'
            attribute:  name
            value:      value
            test:       (test) -> test == value
            not:        _not
          }
        lessThan: (value) ->
          {
            attribute:  name
            value:      value
            test:       (test) -> test < value
            not:        _not
          }
        lessThanOrEquals: (value) ->
          {
            attribute:  name
            value:      value
            test:       (test) -> test <= value
            not:        _not
          }
        greaterThan: (value) ->
          {
            attribute:  name
            value:      value
            test:       (test) -> test > value
            not:        _not
          }
        greaterThanOrEquals: (value) ->
          {
            attribute:  name
            value:      value
            test:       (test) -> test >= value
            not:        _not
          }
      }

      @_creating = true
      @_attributes = {}
      for attribute, details of @_class._attributes
        if @_class._attributes.hasOwnProperty(attribute)
          if data[attribute]?
            @[attribute] data[attribute]
          else if !details.virtual
            @[attribute] details.default
    
      if @_class._manyBinds
        for binding in @_class._manyBinds
