Wrapped inside of a check to see if class exists.

When using this class in a plugin, it might conflict with other plugins using the same class. Hence the wrap to check if the class doesn't already exist.