Is this conditional needed because we don't want to fetch the views otherwise?