Add some interface for config_ctx