InternalRepository: Update connection API in header.