Replaced usage of MockContentTypeFetcher with API when fetching content type.