         # Set as ready to edit
         @_state = 'ready'
 
-        # Check when elements are detached that the parent region is not empty
-        ContentEdit.Root.get().bind 'detach', (element) =>
+        @_handleDetach = (element) =>
             @_preventEmptyRegions()
 
-        # Monitor paste events so that we can pre-parse the content the user
-        # wants to paste into the region.
-        ContentEdit.Root.get().bind 'paste', (element, ev) =>
-
+        @_handleClipboardPaste = (element, ev) =>
             # Get the clipboardData
             clipboardData = null
 


            @paste(element, clipboardData)

        # Manage the transition between regions
        ContentEdit.Root.get().bind 'next-region', (region) =>

            # Is there a next region?
            regions = @orderedRegions()
            index = regions.indexOf(region)

                return

            ContentEdit.Root.get().trigger('previous-region', region)

        # Check when elements are detached that the parent region is not empty
        ContentEdit.Root.get().bind('detach', @_handleDetach)

        # Monitor paste events so that we can pre-parse the content the user
        # wants to paste into the region.
        ContentEdit.Root.get().bind('paste', @_handleClipboardPaste)

        # Manage the transition between regions
        ContentEdit.Root.get().bind('next-region', @_handleNextRegionTransition)
        ContentEdit.Root.get().bind('previous-region', @_handlePreviousRegionTransition)



    destroy: () ->
        # Destroy the editor application
