Added documentation to the header file