From Sam H:
Sam, 'document' group is used in portfolio as one of the formats. There is another format for pdf.
Actually I'm not 100% sure how portfolio uses those formats so I just made the groups exactly the same as they were (at least I tried).
xhtml - agree
I will commit under this issue all changes in icons and grouppings