Fixed code not following style guide (should fix auto formatting bugs).