refs.h: remove duplication in function docstrings