Can we inline `parse_doc()`? It's a one-line expression that's only used in one place.