Added docstrings to utility methods