     _ body: (
       substring: String?, substringRange: Range<Index>,
       enclosingRange: Range<Index>, inout Bool
-    )->()
+    ) -> ()
   ) {
     _ns.enumerateSubstringsInRange(_toNSRange(range), options: opts) {
       var stop_ = false

  /// memory referred to by `index`
  func _withOptionalOutParameter<Result>(
    index: UnsafeMutablePointer<Index>,
    @noescape body: (UnsafeMutablePointer<Int>)->Result
  ) -> Result {
    var utf16Index: Int = 0
    let result = index._withBridgeValue(&utf16Index) {

  //     enumerateLinesUsingBlock:(void (^)(NSString *line, BOOL *stop))block

  /// Enumerates all the lines in a string.
  public func enumerateLines(body: (line: String, inout stop: Bool) -> ()) {
    _ns.enumerateLinesUsingBlock {
      (line: String, stop: UnsafeMutablePointer<ObjCBool>)
    in
