Handle some compiler warnings