REF: Remove unneeded code now with analytic Hessian