Fix disable-expensive-modes.