Preparation for public API.