Derp, six already does this.
Fix str type reference.
Add filelists
Better default for root_from_element.
Fix argspec.
Fix declaration.
Working parser for file lists.