Add some type converters.