Docstrings for encoder functions.