Adding appropriate docstrings for debian-only functions

#6375 did not provide sufficient docstrings.