Adds unused variable elimination