Reformat variable declaration in example code