Must call `getComponentConfiguration` so lazy initialization happens
before trying to access instance configuration.

Also, publicized some methods to make them mockable.