Undefined warning fix.