Silence some resource redeclaration warnings