Formatted code with Uncrustify.