Protect some RenderFlowThread functions.