Preparation for generalizing TOC API.