       lastPosition = currentPosition
   )()
 
-  return tools =
+  Pixel.tools =
     pencil: pencilTool
 
     mirror_pencil:

  } = Pixie.Editor.Pixel

  colorNeighbors = (color) ->
    this.color(color)
    $.each this.canvas.getNeighbors(this.x, this.y), (i, neighbor) ->
      neighbor?.color(color)

  erase = (pixel, opacity) ->

# All the default editor tools for the pixel editor

# Old school namespacing. Stuck with it until Sprockets supports exports
namespace "Pixie.Editor.Pixel", (Pixel) ->

  # Import tools and actions from other files
  {
    config: {
