It compiles now and operator<< seems to work. Branching next.