Fixes comments in pull request.
*Indentation.
*Bracketing.
*Static function
*Default return values.