Fix module docstring position

Signed-off-by: Amr Ali <amr@databracket.com>
Replace automethod instances with autofunction

Signed-off-by: Amr Ali <amr@databracket.com>
Add missing ':' after 'traverse' in parse() docstrings

Signed-off-by: Amr Ali <amr@databracket.com>