Fixed some code formatting inconsistencies