Added tasks and docstrings.