Added support for custom converters. Closes #7.