Initialize variables to the right type