Delete type "doc" if no type specified
Merge pull request #8 from gsf/type-inconsistency

Delete type "doc" if no type specified