Use type instead of tags to get docs in openpgp