Made sure to use ios7 non deprecated calls (or to quiet them when appropriate).