Avoid some compiler warnings