Refs #77. Added docstrings