Remove logging value, improve nested loading performance.

For @dspaeth-faber to look at. Fixes #811.