Reformat all code in protected