Added some documentation to the header file.