Add support for new compoundProblem method
Merge remote-tracking branch 'origin/pg2.5.2' into pg2.5.1

Updating to make sure no commits have been lost.