Should fix two compiler warnings.