Removes deprecated method of adding vars