     for id,object of @objects
       object
 
+  globalAliases: ->
+    @sys.properties.filter((prop) -> prop.mooObject).reduce(((map, prop) ->
+      map[prop.value] = '$' + prop.key
+      map
+    ), {})
+
   list: ->
+    aliases = @globalAliases()
     for id,object of @objects
-      id: object.id
-      name: object.name
+      x =
+        id: object.id
+        name: object.name
+      if aliases[id]?
+        x.alias = aliases[id]
+      x
 
   search: (search) ->
     regex = new RegExp "#{search}", 'i'

    else
      top = @objectsAsArray().filter (o) ->
        o? and o.parent_id == null
    top.map (o) ->
      id: o.id
      name: o.name
      children: children o

  location_tree: (root_id) ->
    contents = (o) =>
      o.contents().map (p) ->
        id: p.id
        name: p.name
        contents: contents p

    if root_id?
      root = @findById root_id

      !!object.name.match regex

  inheritance_tree: (root_id) ->
    aliases = @globalAliases()

    children = (o) =>
      child_os = @objectsAsArray().filter (other_o) ->
        other_o.parent_id == o.id
      child_os.map show

    show = (o) ->
      x =
        id: o.id
        name: o.name
      if aliases[o.id]?
        x.alias = aliases[o.id]
      x.children = children o
      x

    if root_id?
      root = @findById root_id
