anchor.diff:      |> Seq.choose (fun (openDecl, isUsed) -> if isUsed then Some openDecl else None)
       |> Seq.iteri (fun i decl ->
           if i = 0 then 
  -            writer.WriteLine("")
  +            ctx.Writer.WriteBlankLines ctx.BlankLines.BeforeTypeHeaderOpenDeclaration
           writer.WriteLine("open {0}", decl))
  -    writer.WriteLine("")    
  +    ctx.Writer.WriteBlankLines ctx.BlankLines.AfterTypeHeader
   
   and internal writeType isNestedEntity ctx (typ: FSharpEntity) =
       Debug.Assert(not typ.IsFSharpModule, "The entity should be a type.")
  
positive.code:                 ctx.Writer.Write(" * ")
              writeUnionCaseField ctx field)
  
      ctx.Writer.WriteLine("")
  
  and internal formatAttribute ctx (attribute: FSharpAttribute) =
      let definition = attribute.Format(ctx.DisplayContext)
  
negative.code:     |> Seq.choose (fun (openDecl, isUsed) -> if isUsed then Some openDecl else None)
      |> Seq.iteri (fun i decl ->
          if i = 0 then 
              ctx.Writer.WriteBlankLines ctx.BlankLines.BeforeModuleHeaderOpenDeclaration
          writer.WriteLine("open {0}", decl)) 
  
  and internal getParentPath (entity: FSharpEntity) =
  