Added docstrings to all functions in the Processor class.