Add api_base getter.