Deletes unused variables