codec docstrings