Added docstrings and Page base class.