Fix for compiler warnings.