Reformat source and test code according to current conventions.