Additional docstrings added which briefly describe the internal classes.