         classattributes.$methods['set_' + attributes.name] = compileScript(script, args, type)
         # console.log 'added setter', 'set_' + attributes.name, args, classattributes.$methods
       else if childname == 'attribute'
-        type = attributes.type
-        value = attributes.value
-        if type of typemappings
-          # console.log 'mapping type', typemappings[type], value
-          value = typemappings[type]?(value)
         classattributes[attributes.name] = attributes.value
         classattributes.$types[attributes.name] = attributes.type
         # console.log 'added attribute', attributes, classattributes

    matchConstraint = /\${(.+)}/
    applyConstraint: (name, expression) ->
      @constraints ?= {}
      @constraints[name] = (compileScript('return ' + expression)).bind(@)
      # console.log 'adding constraint', name, expression, @
      # console.log 'eval', @constraints[name]()

      scopes = propertyBindings.find(expression)
      # console.log 'found scopes', scopes

      constraintBinding = @constraints[name]
      bindings = constraintBinding.bindings ?= {}

      for scope in scopes
        bindexpression = scope.binding
        scope.compiled = (compileScript('return ' + bindexpression)).bind(@)
        bindings[bindexpression] = scope
        # console.log 'applied', scope.property, bindexpression, 'for', @


      @inset = i
      @update()

    added: (child) ->
      # console.log 'added', child
      child.bind(@axis, @update)
      super(child)

    update: (value, sender) ->
      # console.log('skip', @skip, @locked)
      return if @skip()
      pos = @inset
