Added documentation to all files.