Added function to modify the type of a previously declared variable; removed add_ids function for function declarations; fixed some errors
Added function to modify the type of a previously declared variable; removed add_ids function for function declarations; fixed some errors