Better parsing to python types.

- Documentation updates
- pylint fixes