Added some comments and class headers.