Recent developments in dolfin-adjoint