Fixed documentation on function naming and function whitespace