Add class_exists() check to avoid PHP Fatals when the plugin is the depe...

...ndency of multiple parts of an application.