functions: Fixed return type docstring