Small dof builder fixes.