Upstream VBSP code.