class MwPageClient implements PageClient {

    @SuppressWarnings("unchecked")
    @NonNull @Override public Observable<Response<MwMobileViewPageLead>> lead(@NonNull WikiSite wiki,
                                                                              @Nullable CacheControl cacheControl,
                                                                              @Nullable String saveOfflineHeader,
                                                                              @Nullable String referrerUrl,
                                                                              @NonNull String title,
                                                                              int leadImageWidth) {
        return ServiceFactory.get(wiki).getLeadSection(cacheControl == null ? null : cacheControl.toString(),
                saveOfflineHeader, referrerUrl, title, leadImageWidth, wiki.languageCode());
    }

}