Remove unnecessary warnings