-Convert toDoc* functions to Printable instances
Merge branch 'master' into uuagc