Add type in public API.