     s = s.replace /\;[^\S\n]*/g, ''
       .replace /\t/g, '  '
     s.trim()
+
+  use: (MyEnvironmentClass) ->
+    @context.__add_environment__ MyEnvironmentClass
 
   error: (e) ->
     @_error = e if e?

          # we have mixins here
          # apply on the current selector
          for i in [3...section.length]
            DocumentStyle::_extend(section[2], section[i])

        if level < levelBefore and isReference and levels?[level-1]
          selectorString = levels[level-1].trim() + selectorString.trim().substring(1)# || ''

        CoffeeScript.__csss_context = @context
      @coffeescript = """
      doc = CoffeeScript.__csss_context || this
      rgba = (colors...) -> 'rgba('+colors.join(", ")+')'
      rgb  = -> 'rgb('+Array.prototype.slice.call(arguments).join(", ")+')'
      doc.__init__()
      doc.__eval__ = ->
        #{@coffeescript}
      doc.__eval__()
