Introduce ProviderHelper.NotFoundException, remove dead code