Fix extract-doc call