Fix building gtk-doc reference
Improve docstrings