 define [
+  'paper'
   'models/node_shape'
-], (NodeShape) ->
+], (Paper, NodeShape) ->
 
   class EugeniaNotation 
     reconstruct: (item) ->

      """

    serialiseColor: (color) ->
      c = new paper.Color(color)
      "#{c.red*255},#{c.green*255},#{c.blue*255}"
  
  

  
    deserialiseColor: (color) ->
      [all,r,g,b] = color.match("(\\d+),(\\d+),(\\d+)")
      new Paper.Color(r/255, g/255, b/255).toCSS()
    
    deserialiseName: (definition) ->
      class_pattern = /class\s+(\w*)/
