Set/clear best friend, docstrings added