Remove warnings from build.