Initial printing support. Work on issue #2.