sml: add all types traversal
diagrams: use streams in modeline and comment formatters
om: implement the use of streams in modeline and comment formatters
om: add modeline to boilerplate formatter