Added a missing helper function; added strip_doi function