Added accessors for api_base.