Silence some warnings and remove debug output