Fix printing of type declarations
Merge pull request #61 from lpw25/master

Fix printing of type declarations