Use singleton for DoF.