Adds some FIXMEs and docstrings.