Reformat the code to place similar methods and properties next to each other.