Move all config inspection inside the "ready" handler.