Refacter PMID importer for reuse.