Fixes warnings in iOS7