Removed code for times_viewed. Not in use anywhere.