Adjusted formatting of code.
Added change from commit 0aa6b0f72f07d80974a4743a59ff1ac342937ebf