Cleans up code so it's pretty.