Hide constructor from public API.