Modified code to overload <<, add stubs for incomplete sections.