public static void Block(this IOutputWriter self, Action action) { self.BeginBlock(); action(); self.EndBlock(); }