       obj.reference = obj.reference.reference
 
   return obj
-
-flattenMagic = {}
-for group in bootstrap_magic_variables
-  for item in group.data
-    flattenMagic[item._id] = item
 
 camelToSnake = (str) -> str.replace(/\W+/g, '_').replace(/([a-z\d])([A-Z])/g, '$1-$2')
 

  setOverride : (key, val) -> @setOne 'overrides', key, val
  setOverrides : (obj) -> @setMany 'overrides', obj
  setDefault : (key, val) -> @setOne 'defaults', key, val
  setDefaults : (obj) -> @setMany 'defaults', obj


###

flattenedMagic = {}
flattenedMagicValues = {}
for group in bootstrap_magic_variables
  for item in group.data
    flattenedMagic[item._id] = item
    flattenedMagicValues[item._id] = item.value


###
# EXPORTS
###
@BootstrapMagic =
  dictionary :
    overrides : new ReactiveDict()
