Format docstrings in utils/key_aware.py