Fix #295 - Added support for converting nested types