Removes unused vars