       unless options.has_one?
         options.has_one = []
       options.has_one = Ham.merge options.belongs_to, options.has_one
+    else
+      options.belongs_to = []
 
     # Single relations
     # Generated methods:


        fn = window[data.model]
        
        ###if typeof self[name + '_id'] != 'function'
          unless options.editable?
            options.editable = []

          #options.editable.push name + '_id'
        ###

        if self[name]?
          Observable self, name, new fn(self[name])

        console.log callbackOrObservable

      callback = callbackOrObservable

    if typeof params != 'object'
      console.error params, typeof params
      return

    if params? && params.id?
      mapi.read(params.id, params).done callback
