Add docstring to hdm