Removed apple warning about variable not beeing used.