Added comments and removed old stuff.