Deal with compiler warnings