Added docblocks

Added docblocks to compensate for lack of documentation.