Check for if(class_exists('Widget')) in TagCloudWidget