Change plugin interface: allow solving and improvement in the same step.