Mainly the legacy andre contributions to adjoint routines