Incidentally, this is not as bad to deal with in the C code because it deals with loading and configuring the forward solution on demand.