Pass the right type to type