Remove wrappers allready in scalar_minimize.