TODO for Autodoc (in approximate order of priority): 1. Solidify test cases.