Remove compiler warnings