Added comments everywhere.