Used VS 2010 auto formatting to make code prettier.