Code normalization