Added documentation to header file.