Silencing some warnings in Xcode