Applies formatting to match conventions.