Added docstrings, fixme notices.