Create correct function documentation