Fix data type converters that don't work properly.
Add tests.
Add documentation.