Documentation changes in helper function