Added more consistent code formatting.