Fixing compiler warnings due to enabling CLANG_WARN_OBJC_EXPLICIT_OWNERSHIP_TYPE