Add missing docstrings in compound.py
(#467)