Added support for converting strings and ints to other types