Coils: Reformat code a bit