Handle conversions to int