       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])

    # Check if de/encryption functions should be included
    #
    if options.encrypted_container?
      Encryptable self, options.encrypted_container, options.encrypted_editable

    # Include sortable functions
    if options.sortable? && options.sortable == true
