Remove warnings from compiler