Remove fences depedency for legacy project friendly.