Make Solution class backwards-compatible.