Added documentation to some of the class.