Change types of variables