Docstrings and changes to host key stuff.