     return textNodes[start..end]
 
 # Public: A range suitable for storing in local storage or serializing to JSON.
-exports.SerializedRange = class SerializedRange
+class SerializedRange
 
   # Public: Creates a SerializedRange
   #

# Public: A normalised range is most commonly used throughout the annotator.
# its the result of a deserialised SerializedRange or a BrowserRange with
# out browser inconsistencies.
exports.NormalizedRange = class NormalizedRange

  # Public: Creates an instance of a NormalizedRange.
  #

TEXT_NODE = 3


splitBoundaries = (range) ->
  {startContainer, startOffset, endContainer, endOffset} = range

  if isTextNode(endContainer)
