Formatted some code to be more consistent.