Correcting the docs for function definitions to make it clearer