Adds return-type in two functions' docstrings

Change-Id: Ifdf49c59d8e983905ad6f31e0a3f7f64cd5a297c
Fixes: bug #1130922
Merge "Adds return-type in two functions' docstrings"