Added documentation to the codebase.