Check for multiple declaration of the class

Without this check, we can have trouble when multiple themes/plugins use the file.