diff --git a/schema_article/schema_article.info b/schema_article/schema_article.info
index 1705ab9..f54536d 100644
--- a/schema_article/schema_article.info
+++ b/schema_article/schema_article.info
@@ -5,4 +5,4 @@ core = 7.x
 dependencies[] = schema_metatag
 
 files[] = src/SchemaArticleType.php
-files[] = tests/SchemaMetatagArticleTest.test
+files[] = tests/SchemaArticleTest.test
diff --git a/schema_article/schema_article.metatag.inc b/schema_article/schema_article.metatag.inc
index 14c0aaf..f6241c3 100644
--- a/schema_article/schema_article.metatag.inc
+++ b/schema_article/schema_article.metatag.inc
@@ -11,7 +11,11 @@
 function schema_article_metatag_info() {
   $info['groups']['schema_article'] = array(
     'label' => t('Schema.org: Article'),
-    'description' => t('See Schema.org definitions for this Schema type at <a href="!url">!url</a>, Google\'s recommendations at <a href="!google_url">!google_url</a>.', ['!url' => 'http://schema.org/Article', '!google_url' => 'https://developers.google.com/search/docs/data-types/article']),
+    'description' => t('See Schema.org definitions for this Schema type at <a href="!url">!url</a>, Google\'s recommendations at <a href="!google_url">!google_url</a>.',
+    [
+      '!url' => 'http://schema.org/Article',
+      '!google_url' => 'https://developers.google.com/search/docs/data-types/article',
+    ]),
     'form' => array(
       '#weight' => 10,
     ),
@@ -21,7 +25,7 @@ function schema_article_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_article',
     'form' => array(
       '#type' => 'textfield',
@@ -54,7 +58,7 @@ function schema_article_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_article.author'] = array(
-    'class' => 'SchemaPersonOrgBase',
+    'class' => 'SchemaMetatagPersonOrgBase',
     'label' => t('author'),
     'description' => t('REQUIRED BY GOOGLE. Author of the article.'),
     'multiple' => TRUE,
@@ -62,28 +66,28 @@ function schema_article_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_article.publisher'] = array(
-    'class' => 'SchemaPersonOrgBase',
+    'class' => 'SchemaMetatagPersonOrgBase',
     'label' => t('publisher'),
     'description' => t('REQUIRED BY GOOGLE. Publisher of the article.'),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_article.datePublished'] = array(
-    'class' => 'SchemaDateBase',
+    'class' => 'SchemaMetatagDateBase',
     'label' => t('datePublished'),
     'description' => t('REQUIRED BY GOOGLE. Date the article was published.'),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_article.dateModified'] = array(
-    'class' => 'SchemaDateBase',
+    'class' => 'SchemaMetatagDateBase',
     'label' => t('dateModified'),
     'description' => t('RECOMMENDED BY GOOGLE. Date the article was last modified.'),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_article.image'] = array(
-    'class' => 'SchemaImageBase',
+    'class' => 'SchemaMetatagImageBase',
     'label' => t('image'),
     'description' => t('REQUIRED BY GOOGLE. The primary image for this item.'),
     'image' => TRUE,
@@ -93,7 +97,7 @@ function schema_article_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_article.mainEntityOfPage'] = array(
-    'class' => 'SchemaMainEntityOfPageBase',
+    'class' => 'SchemaMetatagMainEntityOfPageBase',
     'label' => t('mainEntityOfPage'),
     'description' => 'RECOMMENDED BY GOOGLE. The canonical URL of the article page. Specify mainEntityOfPage when the article is the primary topic of the article page.',
     'url' => TRUE,
@@ -101,21 +105,21 @@ function schema_article_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_article.hasPart'] = array(
-    'class' => 'SchemaHasPartBase',
+    'class' => 'SchemaMetatagHasPartBase',
     'label' => t('hasPart'),
     'description' => t('RECOMMENDED BY GOOGLE. Use for <a href="!url">Paywalled content</a>', ['!url' => 'https://developers.google.com/search/docs/data-types/paywalled-content']),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_article.isAccessibleForFree'] = array(
-    'class' => 'SchemaIsAccessibleForFreeBase',
+    'class' => 'SchemaMetatagIsAccessibleForFreeBase',
     'label' => t('isAccessibleForFree'),
     'description' => t('RECOMMENDED BY GOOGLE. Use for <a href="!url">Paywalled content</a>', ['!url' => 'https://developers.google.com/search/docs/data-types/paywalled-content']),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_article.speakable'] = array(
-    'class' => 'SchemaSpeakableBase',
+    'class' => 'SchemaMetatagSpeakableBase',
     'label' => t('speakable'),
     'description' => t('Speakable property.'),
     'weight' => ++$weight,
@@ -129,7 +133,7 @@ function schema_article_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_article.aggregateRating'] = array(
-    'class' => 'SchemaRatingBase',
+    'class' => 'SchemaMetatagRatingBase',
     'label' => t('aggregateRating'),
     'description' => '',
     'multiple' => TRUE,
@@ -137,7 +141,7 @@ function schema_article_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_article.review'] = array(
-    'class' => 'SchemaReviewBase',
+    'class' => 'SchemaMetatagReviewBase',
     'label' => t('review'),
     'description' => '',
     'multiple' => TRUE,
diff --git a/schema_article/src/SchemaArticleType.php b/schema_article/src/SchemaArticleType.php
index 6858a4d..329faa4 100644
--- a/schema_article/src/SchemaArticleType.php
+++ b/schema_article/src/SchemaArticleType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaArticleType extends SchemaTypeBase {
+class SchemaArticleType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_article/tests/SchemaMetatagArticleTest.test b/schema_article/tests/SchemaMetatagArticleTest.test
deleted file mode 100644
index f473f46..0000000
--- a/schema_article/tests/SchemaMetatagArticleTest.test
+++ /dev/null
@@ -1,62 +0,0 @@
-<?php
-
-/**
- * Tests that each of the Metatag schema_article tags work correctly.
- */
-class SchemaMetatagArticleTest extends SchemaMetatagTagsTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getInfo() {
-    return array(
-      'name' => 'Schema Metatag: Article',
-      'description' => 'Test the schema_article meta tags.',
-      'group' => 'Schema Metatag',
-      'dependencies' => [
-        'ctools',
-        'token',
-        'metatag',
-        'schema_metatag',
-        'schema_article',
-      ],
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setUp(array $modules = array()) {
-    $modules[] = 'schema_article';
-    parent::setUp($modules);
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public $moduleName = 'schema_article';
-
-  /**
-   * {@inheritdoc}
-   */
-  public $schemaTags = [
-    'schema_article.@type' => 'SchemaArticleType',
-    'schema_article.headline' => 'SchemaNameBase',
-    'schema_article.name' => 'SchemaNameBase',
-    'schema_article.description' => 'SchemaNameBase',
-    'schema_article.author' => 'SchemaPersonOrgBase',
-    'schema_article.publisher' => 'SchemaPersonOrgBase',
-    'schema_article.datePublished' => 'SchemaDateBase',
-    'schema_article.dateModified' => 'SchemaDateBase',
-    'schema_article.about' => 'SchemaNameBase',
-    'schema_article.image' => 'SchemaImageBase',
-    'schema_article.mainEntityOfPage' => 'SchemaMainEntityOfPageBase',
-    'schema_article.hasPart' => 'SchemaHasPartBase',
-    'schema_article.isAccessibleForFree' => 'SchemaIsAccessibleForFreeBase',
-    'schema_article.speakable' => 'SchemaSpeakableBase',
-    'schema_article.aggregateRating' => 'SchemaRatingBase',
-    'schema_article.review' => 'SchemaReviewBase',
-  ];
-
-}
diff --git a/schema_article_example/schema_article_example.metatag.inc b/schema_article_example/schema_article_example.metatag.inc
index 51e6720..8addf66 100644
--- a/schema_article_example/schema_article_example.metatag.inc
+++ b/schema_article_example/schema_article_example.metatag.inc
@@ -14,7 +14,7 @@ function schema_article_example_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_article_example',
     'form' => array(
       '#type' => 'textfield',
@@ -22,7 +22,7 @@ function schema_article_example_metatag_info() {
   );
 
   $info['tags']['schema_article.typicalAgeRange'] = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'label' => t('typicalAgeRange'),
     'description' => t('The applicable age range of the item.'),
     'weight' => ++$weight,
diff --git a/schema_book/schema_book.info b/schema_book/schema_book.info
index 225c405..2e3e5b5 100644
--- a/schema_book/schema_book.info
+++ b/schema_book/schema_book.info
@@ -5,4 +5,4 @@ core = 7.x
 dependencies[] = schema_metatag
 
 files[] = src/SchemaBookType.php
-files[] = tests/SchemaMetatagBookTest.test
+files[] = tests/SchemaBookTest.test
diff --git a/schema_book/schema_book.metatag.inc b/schema_book/schema_book.metatag.inc
index 82eef98..e9fed81 100644
--- a/schema_book/schema_book.metatag.inc
+++ b/schema_book/schema_book.metatag.inc
@@ -11,7 +11,11 @@
 function schema_book_metatag_info() {
   $info['groups']['schema_book'] = array(
     'label' => t('Schema.org: Book'),
-    'description' => t('See Schema.org definitions for this Schema type at <a href="!url">!url</a>, Google\'s recommendations at <a href="!google_url">!google_url</a>.', ['!url' => 'http://schema.org/Book', '!google_url' => 'https://developers.google.com/search/docs/data-types/book']),
+    'description' => t('See Schema.org definitions for this Schema type at <a href="!url">!url</a>, Google\'s recommendations at <a href="!google_url">!google_url</a>.',
+    [
+      '!url' => 'http://schema.org/Book',
+      '!google_url' => 'https://developers.google.com/search/docs/data-types/book',
+    ]),
     'form' => array(
       '#weight' => 10,
     ),
@@ -21,7 +25,7 @@ function schema_book_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_book',
     'form' => array(
       '#type' => 'textfield',
@@ -42,7 +46,7 @@ function schema_book_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_book.author'] = array(
-    'class' => 'SchemaPersonOrgBase',
+    'class' => 'SchemaMetatagPersonOrgBase',
     'label' => t('author'),
     'description' => t('REQUIRED BY GOOGLE. Author of the book.'),
     'weight' => ++$weight,
@@ -61,7 +65,7 @@ function schema_book_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_book.image'] = array(
-    'class' => 'SchemaImageBase',
+    'class' => 'SchemaMetatagImageBase',
     'label' => t('image'),
     'description' => t('The primary image for this item.'),
     'image' => TRUE,
@@ -71,7 +75,7 @@ function schema_book_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_book.url'] = array(
-    'class' => 'SchemaUrlBase',
+    'class' => 'SchemaMetatagUrlBase',
     'label' => t('url'),
     'description' => t('REQUIRED BY GOOGLE. Url of the book.'),
     'multiple' => FALSE,
@@ -80,7 +84,7 @@ function schema_book_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_book.sameAs'] = array(
-    'class' => 'SchemaUrlBase',
+    'class' => 'SchemaMetatagUrlBase',
     'label' => t('sameAs'),
     'description' => t('RECOMMENDED BY GOOGLE. Social links and other urls for the book.'),
     'multiple' => FALSE,
@@ -89,7 +93,7 @@ function schema_book_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_book.workExample'] = array(
-    'class' => 'SchemaCreativeWorkBase',
+    'class' => 'SchemaMetatagCreativeWorkBase',
     'label' => t('workExample'),
     'description' => t('REQUIRED BY GOOGLE. Example of the book.'),
     'multiple' => TRUE,
@@ -97,7 +101,7 @@ function schema_book_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_book.aggregateRating'] = array(
-    'class' => 'SchemaRatingBase',
+    'class' => 'SchemaMetatagRatingBase',
     'label' => t('aggregateRating'),
     'description' => t('Aggregate rating of the book.'),
     'multiple' => TRUE,
@@ -105,7 +109,7 @@ function schema_book_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_book.review'] = array(
-    'class' => 'SchemaReviewBase',
+    'class' => 'SchemaMetatagReviewBase',
     'label' => t('review'),
     'description' => t('Review of the book.'),
     'multiple' => TRUE,
diff --git a/schema_book/src/SchemaBookType.php b/schema_book/src/SchemaBookType.php
index 03022b9..e8960e2 100644
--- a/schema_book/src/SchemaBookType.php
+++ b/schema_book/src/SchemaBookType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaBookType extends SchemaTypeBase {
+class SchemaBookType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_book/tests/SchemaMetatagBookTest.test b/schema_book/tests/SchemaMetatagBookTest.test
deleted file mode 100644
index 48f116b..0000000
--- a/schema_book/tests/SchemaMetatagBookTest.test
+++ /dev/null
@@ -1,57 +0,0 @@
-<?php
-
-/**
- * Tests that each of the Metatag schema_book tags work correctly.
- */
-class SchemaMetatagBookTest extends SchemaMetatagTagsTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getInfo() {
-    return array(
-      'name' => 'Schema Metatag: Book',
-      'description' => 'Test the schema_book meta tags.',
-      'group' => 'Schema Metatag',
-      'dependencies' => [
-        'ctools',
-        'token',
-        'metatag',
-        'schema_metatag',
-        'schema_book',
-      ],
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setUp(array $modules = array()) {
-    $modules[] = 'schema_book';
-    parent::setUp($modules);
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public $moduleName = 'schema_book';
-
-  /**
-   * {@inheritdoc}
-   */
-  public $schemaTags = [
-    'schema_book.@type' => 'SchemaBookType',
-    'schema_book.author' => 'SchemaPersonOrgBase',
-    'schema_book.name' => 'SchemaNameBase',
-    'schema_book.@id' => 'SchemaNameBase',
-    'schema_book.description' => 'SchemaNameBase',
-    'schema_book.image' => 'SchemaImageBase',
-    'schema_book.url' => 'SchemaUrlBase',
-    'schema_book.sameAs' => 'SchemaUrlBase',
-    'schema_book.aggregateRating' => 'SchemaRatingBase',
-    'schema_book.review' => 'SchemaReviewBase',
-    'schema_book.workExample' => 'SchemaCreativeWorkBase',
-  ];
-
-}
diff --git a/schema_course/schema_course.info b/schema_course/schema_course.info
index 49240ab..183154a 100644
--- a/schema_course/schema_course.info
+++ b/schema_course/schema_course.info
@@ -5,4 +5,4 @@ core = 7.x
 dependencies[] = schema_metatag
 
 files[] = src/SchemaCourseType.php
-files[] = tests/SchemaMetatagCourseTest.test
+files[] = tests/SchemaCourseTest.test
diff --git a/schema_course/schema_course.metatag.inc b/schema_course/schema_course.metatag.inc
index 6beb744..0030eb0 100644
--- a/schema_course/schema_course.metatag.inc
+++ b/schema_course/schema_course.metatag.inc
@@ -11,7 +11,11 @@
 function schema_course_metatag_info() {
   $info['groups']['schema_course'] = array(
     'label' => t('Schema.org: Course'),
-    'description' => t('See Schema.org definitions for this Schema type at <a href="!url">!url</a>, Google\'s recommendations at <a href="!google_url">!google_url</a>.', ['!url' => 'http://schema.org/Course', '!google_url' => 'https://developers.google.com/search/docs/data-types/course']),
+    'description' => t('See Schema.org definitions for this Schema type at <a href="!url">!url</a>, Google\'s recommendations at <a href="!google_url">!google_url</a>.',
+    [
+      '!url' => 'http://schema.org/Course',
+      '!google_url' => 'https://developers.google.com/search/docs/data-types/course',
+    ]),
     'form' => array(
       '#weight' => 10,
     ),
@@ -21,7 +25,7 @@ function schema_course_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_course',
     'form' => array(
       '#type' => 'textfield',
@@ -66,7 +70,7 @@ function schema_course_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_course.provider'] = array(
-    'class' => 'SchemaPersonOrgBase',
+    'class' => 'SchemaMetatagPersonOrgBase',
     'label' => t('provider'),
     'description' => t("RECOMMENDED BY GOOGLE. The provider of the course."),
     'weight' => ++$weight,
diff --git a/schema_course/src/SchemaCourseType.php b/schema_course/src/SchemaCourseType.php
index c0bd091..2998c7c 100644
--- a/schema_course/src/SchemaCourseType.php
+++ b/schema_course/src/SchemaCourseType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaCourseType extends SchemaTypeBase {
+class SchemaCourseType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_course/tests/SchemaMetatagCourseTest.test b/schema_course/tests/SchemaMetatagCourseTest.test
deleted file mode 100644
index c8c60c6..0000000
--- a/schema_course/tests/SchemaMetatagCourseTest.test
+++ /dev/null
@@ -1,53 +0,0 @@
-<?php
-
-/**
- * Tests that each of the Metatag schema_course tags work correctly.
- */
-class SchemaMetatagCourseTest extends SchemaMetatagTagsTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getInfo() {
-    return array(
-      'name' => 'Schema Metatag: Course',
-      'description' => 'Test the schema_course meta tags.',
-      'group' => 'Schema Metatag',
-      'dependencies' => [
-        'ctools',
-        'token',
-        'metatag',
-        'schema_metatag',
-        'schema_course',
-      ],
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setUp(array $modules = array()) {
-    $modules[] = 'schema_course';
-    parent::setUp($modules);
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public $moduleName = 'schema_course';
-
-  /**
-   * {@inheritdoc}
-   */
-  public $schemaTags = [
-    'schema_course.@type' => 'SchemaCourseType',
-    'schema_course.name' => 'SchemaNameBase',
-    'schema_course.courseCode' => 'SchemaNameBase',
-    'schema_course.description' => 'SchemaNameBase',
-    'schema_course.coursePrerequisites' => 'SchemaNameBase',
-    'schema_course.educationalCredentialAwarded' => 'SchemaNameBase',
-    'schema_course.provider' => 'SchemaPersonOrgBase',
-  ];
-
-}
diff --git a/schema_event/schema_event.info b/schema_event/schema_event.info
index c26403e..49fad35 100644
--- a/schema_event/schema_event.info
+++ b/schema_event/schema_event.info
@@ -5,4 +5,4 @@ core = 7.x
 dependencies[] = schema_metatag
 
 files[] = src/SchemaEventType.php
-files[] = tests/SchemaMetatagEventTest.test
+files[] = tests/SchemaEventTest.test
diff --git a/schema_event/schema_event.metatag.inc b/schema_event/schema_event.metatag.inc
index d3e23e3..c5bff6d 100644
--- a/schema_event/schema_event.metatag.inc
+++ b/schema_event/schema_event.metatag.inc
@@ -11,7 +11,11 @@
 function schema_event_metatag_info() {
   $info['groups']['schema_event'] = array(
     'label' => t('Schema.org: Event'),
-    'description' => t('See Schema.org definitions for this Schema type at <a href="!url">!url</a>, Google\'s recommendations at <a href="!google_url">!google_url</a>.', ['!url' => 'http://schema.org/Event', '!google_url' => 'https://developers.google.com/search/docs/data-types/event']),
+    'description' => t('See Schema.org definitions for this Schema type at <a href="!url">!url</a>, Google\'s recommendations at <a href="!google_url">!google_url</a>.',
+    [
+      '!url' => 'http://schema.org/Event',
+      '!google_url' => 'https://developers.google.com/search/docs/data-types/event',
+    ]),
     'form' => array(
       '#weight' => 10,
     ),
@@ -21,7 +25,7 @@ function schema_event_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_event',
     'form' => array(
       '#type' => 'textfield',
@@ -48,7 +52,7 @@ function schema_event_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_event.image'] = array(
-    'class' => 'SchemaImageBase',
+    'class' => 'SchemaMetatagImageBase',
     'label' => t('image'),
     'description' => t('RECOMMENDED BY GOOGLE. The primary image for this event.'),
     'image' => TRUE,
@@ -70,7 +74,7 @@ function schema_event_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_event.startDate'] = array(
-    'class' => 'SchemaDateBase',
+    'class' => 'SchemaMetatagDateBase',
     'label' => t('startDate'),
     'description' => t('REQUIRED BY GOOGLE. Date and time when the event starts.'),
     'multiple' => TRUE,
@@ -78,7 +82,7 @@ function schema_event_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_event.endDate'] = array(
-    'class' => 'SchemaDateBase',
+    'class' => 'SchemaMetatagDateBase',
     'label' => t('endDate'),
     'description' => t('RECOMMENDED BY GOOGLE. Date and time when the event ends.'),
     'multiple' => TRUE,
@@ -86,17 +90,17 @@ function schema_event_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_event.previousStartDate'] = array(
-      'class' => 'SchemaDateBase',
-      'label' => t('previousStartDate'),
-      'description' => t('RECOMMENDED BY GOOGLE. The previousStartDate of the event.'),
-      'weight' => ++$weight,
-    ) + $defaults;
+    'class' => 'SchemaMetatagDateBase',
+    'label' => t('previousStartDate'),
+    'description' => t('RECOMMENDED BY GOOGLE. The previousStartDate of the event.'),
+    'weight' => ++$weight,
+  ) + $defaults;
 
   $info['tags']['schema_event.eventAttendanceMode'] = array(
-      'label' => t('eventAttendanceMode'),
-      'description' => t('RECOMMENDED BY GOOGLE. The eventAttendanceMode of the event. Valid values are https://schema.org/OfflineEventAttendanceMode, https://schema.org/MixedEventAttendanceMode, or https://schema.org/OnlineEventAttendanceMode.'),
-      'weight' => ++$weight,
-    ) + $defaults;
+    'label' => t('eventAttendanceMode'),
+    'description' => t('RECOMMENDED BY GOOGLE. The eventAttendanceMode of the event. Valid values are https://schema.org/OfflineEventAttendanceMode, https://schema.org/MixedEventAttendanceMode, or https://schema.org/OnlineEventAttendanceMode.'),
+    'weight' => ++$weight,
+  ) + $defaults;
 
   $info['tags']['schema_event.eventStatus'] = array(
     'label' => t('eventStatus'),
@@ -105,21 +109,21 @@ function schema_event_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_event.location'] = array(
-    'class' => 'SchemaPlaceBase',
+    'class' => 'SchemaMetatagPlaceBase',
     'label' => t('location'),
     'description' => t('REQUIRED BY GOOGLE. The location of the event.'),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_event.organizer'] = array(
-    'class' => 'SchemaPersonOrgBase',
+    'class' => 'SchemaMetatagPersonOrgBase',
     'label' => t('performer'),
     'description' => t('RECOMMENDED BY GOOGLE. The organizer of the event.'),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_event.performer'] = array(
-    'class' => 'SchemaPersonOrgBase',
+    'class' => 'SchemaMetatagPersonOrgBase',
     'label' => t('performer'),
     'description' => t('RECOMMENDED BY GOOGLE. The performer(s) in the event.'),
     'multiple' => TRUE,
@@ -127,7 +131,7 @@ function schema_event_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_event.offers'] = array(
-    'class' => 'SchemaOfferBase',
+    'class' => 'SchemaMetatagOfferBase',
     'label' => t('offers'),
     'description' => t('RECOMMENDED BY GOOGLE. Offers associated with the event.'),
     'multiple' => TRUE,
@@ -135,7 +139,7 @@ function schema_event_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_event.url'] = array(
-    'class' => 'SchemaUrlBase',
+    'class' => 'SchemaMetatagUrlBase',
     'label' => t('url'),
     'description' => t('The url of the event.'),
     'url' => TRUE,
@@ -150,7 +154,7 @@ function schema_event_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_event.aggregateRating'] = array(
-    'class' => 'SchemaRatingBase',
+    'class' => 'SchemaMetatagRatingBase',
     'label' => t('aggregateRating'),
     'description' => '',
     'multiple' => TRUE,
@@ -158,7 +162,7 @@ function schema_event_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_event.review'] = array(
-    'class' => 'SchemaReviewBase',
+    'class' => 'SchemaMetatagReviewBase',
     'label' => t('review'),
     'description' => '',
     'multiple' => TRUE,
diff --git a/schema_event/src/SchemaEventType.php b/schema_event/src/SchemaEventType.php
index 2b443d7..3b759bc 100644
--- a/schema_event/src/SchemaEventType.php
+++ b/schema_event/src/SchemaEventType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaEventType extends SchemaTypeBase {
+class SchemaEventType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_event/tests/SchemaMetatagEventTest.test b/schema_event/tests/SchemaMetatagEventTest.test
deleted file mode 100644
index a442fb5..0000000
--- a/schema_event/tests/SchemaMetatagEventTest.test
+++ /dev/null
@@ -1,65 +0,0 @@
-<?php
-
-/**
- * Tests that each of the Metatag schema_event tags work correctly.
- */
-class SchemaMetatagEventTest extends SchemaMetatagTagsTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getInfo() {
-    return array(
-      'name' => 'Schema Metatag: Event',
-      'description' => 'Test the schema_event meta tags.',
-      'group' => 'Schema Metatag',
-      'dependencies' => [
-        'ctools',
-        'token',
-        'metatag',
-        'schema_metatag',
-        'schema_event',
-      ],
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setUp(array $modules = array()) {
-    $modules[] = 'schema_event';
-    parent::setUp($modules);
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public $moduleName = 'schema_event';
-
-  /**
-   * {@inheritdoc}
-   */
-  public $schemaTags = [
-    'schema_event.@type' => 'SchemaEventType',
-    'schema_event.@id' => 'SchemaNameBase',
-    'schema_event.name' => 'SchemaNameBase',
-    'schema_event.image' => 'SchemaImageBase',
-    'schema_event.description' => 'SchemaNameBase',
-    'schema_event.url' => 'SchemaUrlBase',
-    'schema_event.doorTime' => 'SchemaNameBase',
-    'schema_event.isAccessibleForFree' => 'SchemaIsAccessibleForFreeBase',
-    'schema_event.startDate' => 'SchemaDateBase',
-    'schema_event.endDate' => 'SchemaDateBase',
-    'schema_event.location' => 'SchemaPlaceBase',
-    'schema_event.performer' => 'SchemaPersonOrgBase',
-    'schema_event.offers' => 'SchemaOfferBase',
-    'schema_event.aggregateRating' => 'SchemaRatingBase',
-    'schema_event.review' => 'SchemaReviewBase',
-    'schema_event.previousStartDate' => 'SchemaDateBase',
-    'schema_event.eventAttendanceMode' => 'SchemaNameBase',
-    'schema_event.eventStatus' => 'SchemaNameBase',
-    'schema_event.organizer' => 'SchemaPersonOrgBase',
-  ];
-
-}
diff --git a/schema_how_to/schema_how_to.info b/schema_how_to/schema_how_to.info
index 4c847e6..0c58c4d 100644
--- a/schema_how_to/schema_how_to.info
+++ b/schema_how_to/schema_how_to.info
@@ -5,4 +5,4 @@ core = 7.x
 dependencies[] = schema_metatag
 
 files[] = src/SchemaHowToType.php
-files[] = tests/SchemaMetatagHowToTest.test
+files[] = tests/SchemaHowToTest.test
diff --git a/schema_how_to/schema_how_to.metatag.inc b/schema_how_to/schema_how_to.metatag.inc
index f2cf734..da15653 100644
--- a/schema_how_to/schema_how_to.metatag.inc
+++ b/schema_how_to/schema_how_to.metatag.inc
@@ -11,7 +11,11 @@
 function schema_how_to_metatag_info() {
   $info['groups']['schema_how_to'] = array(
     'label' => t('Schema.org: HowTo'),
-    'description' => t('See Schema.org definitions for this Schema type at <a href="!url">!url</a>, Google\'s recommendations at <a href="!google_url">!google_url</a>.', ['!url' => 'http://schema.org/HowTo', '!google_url' => 'https://developers.google.com/search/docs/data-types/how-to']),
+    'description' => t('See Schema.org definitions for this Schema type at <a href="!url">!url</a>, Google\'s recommendations at <a href="!google_url">!google_url</a>.',
+    [
+      '!url' => 'http://schema.org/HowTo',
+      '!google_url' => 'https://developers.google.com/search/docs/data-types/how-to',
+    ]),
     'form' => array(
       '#weight' => 10,
     ),
@@ -21,7 +25,7 @@ function schema_how_to_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_how_to',
     'form' => array(
       '#type' => 'textfield',
@@ -43,7 +47,7 @@ function schema_how_to_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_how_to.step'] = array(
-    'class' => 'SchemaHowToStepBase',
+    'class' => 'SchemaMetatagHowToStepBase',
     'label' => t('name'),
     'description' => t("REQUIRED BY GOOGLE. An array of HowToStep elements which comprise the full instructions of the how-to."),
     'multiple' => TRUE,
@@ -57,7 +61,7 @@ function schema_how_to_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_how_to.image'] = array(
-    'class' => 'SchemaImageBase',
+    'class' => 'SchemaMetatagImageBase',
     'label' => t('image'),
     'description' => t('RECOMMENDED BY GOOGLE. Image of the completed how-to.'),
     'image' => TRUE,
@@ -66,7 +70,7 @@ function schema_how_to_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_how_to.estimatedCost'] = array(
-    'class' => 'SchemaMonetaryAmountBase',
+    'class' => 'SchemaMetatagMonetaryAmountBase',
     'label' => t('estimatedCost'),
     'description' => t('RECOMMENDED BY GOOGLE. The estimated cost of the supplies consumed when performing instructions.'),
     'weight' => ++$weight,
diff --git a/schema_how_to/src/SchemaHowToType.php b/schema_how_to/src/SchemaHowToType.php
index 15eade6..fc02a3b 100644
--- a/schema_how_to/src/SchemaHowToType.php
+++ b/schema_how_to/src/SchemaHowToType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaHowToType extends SchemaTypeBase {
+class SchemaHowToType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_how_to/tests/SchemaMetatagHowToTest.test b/schema_how_to/tests/SchemaMetatagHowToTest.test
deleted file mode 100644
index ecbf5c8..0000000
--- a/schema_how_to/tests/SchemaMetatagHowToTest.test
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php
-
-/**
- * Tests that each of the Metatag schema_how_to tags work correctly.
- */
-class SchemaMetatagHowToTest extends SchemaMetatagTagsTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getInfo() {
-    return array(
-      'name' => 'Schema Metatag: HowTo',
-      'description' => 'Test the schema_how_to meta tags.',
-      'group' => 'Schema Metatag',
-      'dependencies' => [
-        'ctools',
-        'token',
-        'metatag',
-        'schema_metatag',
-        'schema_how_to',
-      ],
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setUp(array $modules = array()) {
-    $modules[] = 'schema_how_to';
-    parent::setUp($modules);
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public $moduleName = 'schema_how_to';
-
-  /**
-   * {@inheritdoc}
-   */
-  public $schemaTags = [
-    'schema_how_to.@type' => 'SchemaHowToType',
-    'schema_how_to.name' => 'SchemaNameBase',
-    'schema_how_to.step' => 'SchemaHowToStepBase',
-    'schema_how_to.description' => 'SchemaNameBase',
-    'schema_how_to.image' => 'SchemaImageBase',
-    'schema_how_to.estimatedCost' => 'SchemaMonetaryAmountBase',
-    'schema_how_to.supply' => 'SchemaNameBase',
-    'schema_how_to.tool' => 'SchemaNameBase',
-  ];
-
-}
diff --git a/schema_image_object/schema_image_object.info b/schema_image_object/schema_image_object.info
index f11f55e..f14d5d9 100644
--- a/schema_image_object/schema_image_object.info
+++ b/schema_image_object/schema_image_object.info
@@ -5,4 +5,4 @@ core = 7.x
 dependencies[] = schema_metatag
 
 files[] = src/SchemaImageObjectType.php
-files[] = tests/SchemaMetatagImageObjectTest.test
+files[] = tests/SchemaImageObjectTest.test
diff --git a/schema_image_object/schema_image_object.metatag.inc b/schema_image_object/schema_image_object.metatag.inc
index 82f3f61..5b66e8f 100644
--- a/schema_image_object/schema_image_object.metatag.inc
+++ b/schema_image_object/schema_image_object.metatag.inc
@@ -21,7 +21,7 @@ function schema_image_object_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_image_object',
     'form' => array(
       '#type' => 'textfield',
@@ -54,7 +54,7 @@ function schema_image_object_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_image_object.url'] = array(
-    'class' => 'SchemaUrlBase',
+    'class' => 'SchemaMetatagUrlBase',
     'label' => t('url'),
     'description' => t('Absolute URL of the image. If using tokens include the image preset name, and the URL attribute. [node:field_name:image_preset_name:url]. If using referenced entities like Media or Paragraphs, your token would look like [node:field_name:entity:field_name:image_preset_name:url].'),
     'image' => TRUE,
@@ -75,7 +75,7 @@ function schema_image_object_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_image_object.aggregateRating'] = array(
-    'class' => 'SchemaRatingBase',
+    'class' => 'SchemaMetatagRatingBase',
     'label' => t('aggregateRating'),
     'description' => '',
     'multiple' => TRUE,
@@ -83,7 +83,7 @@ function schema_image_object_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_image_object.review'] = array(
-    'class' => 'SchemaReviewBase',
+    'class' => 'SchemaMetatagReviewBase',
     'label' => t('review'),
     'description' => '',
     'multiple' => TRUE,
diff --git a/schema_image_object/src/SchemaImageObjectType.php b/schema_image_object/src/SchemaImageObjectType.php
index 2bb2b91..cc7fd69 100644
--- a/schema_image_object/src/SchemaImageObjectType.php
+++ b/schema_image_object/src/SchemaImageObjectType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaImageObjectType extends SchemaTypeBase {
+class SchemaImageObjectType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_image_object/tests/SchemaMetatagImageObjectTest.test b/schema_image_object/tests/SchemaMetatagImageObjectTest.test
deleted file mode 100644
index 87eba14..0000000
--- a/schema_image_object/tests/SchemaMetatagImageObjectTest.test
+++ /dev/null
@@ -1,55 +0,0 @@
-<?php
-
-/**
- * Tests that each of the Metatag schema_image_object tags work correctly.
- */
-class SchemaMetatagImageObjectTest extends SchemaMetatagTagsTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getInfo() {
-    return array(
-      'name' => 'Schema Metatag: ImageObject',
-      'description' => 'Test the schema_image_object meta tags.',
-      'group' => 'Schema Metatag',
-      'dependencies' => [
-        'ctools',
-        'token',
-        'metatag',
-        'schema_metatag',
-        'schema_image_object',
-      ],
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setUp(array $modules = array()) {
-    $modules[] = 'schema_image_object';
-    parent::setUp($modules);
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public $moduleName = 'schema_image_object';
-
-  /**
-   * {@inheritdoc}
-   */
-  public $schemaTags = [
-    'schema_image_object.@type' => 'SchemaImageObjectType',
-    'schema_image_object.@id' => 'SchemaNameBase',
-    'schema_image_object.name' => 'SchemaNameBase',
-    'schema_image_object.description' => 'SchemaNameBase',
-    'schema_image_object.url' => 'SchemaUrlBase',
-    'schema_image_object.width' => 'SchemaNameBase',
-    'schema_image_object.height' => 'SchemaNameBase',
-    'schema_image_object.aggregateRating' => 'SchemaRatingBase',
-    'schema_image_object.review' => 'SchemaReviewBase',
-  ];
-
-}
diff --git a/schema_item_list/schema_item_list.metatag.inc b/schema_item_list/schema_item_list.metatag.inc
index 5670d5e..9c01a86 100644
--- a/schema_item_list/schema_item_list.metatag.inc
+++ b/schema_item_list/schema_item_list.metatag.inc
@@ -21,7 +21,7 @@ function schema_item_list_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_item_list',
     'form' => array(
       '#type' => 'textfield',
@@ -42,7 +42,7 @@ function schema_item_list_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_item_list.itemListElement'] = array(
-    'class' => 'SchemaItemListElementViewsBase',
+    'class' => 'SchemaMetatagItemListElementViewsBase',
     'label' => t('itemListElement'),
     'description' => t('Display the view results as a JSON LD item list'),
     'weight' => ++$weight,
diff --git a/schema_item_list/src/SchemaItemListType.php b/schema_item_list/src/SchemaItemListType.php
index 1fe1c41..edffcff 100644
--- a/schema_item_list/src/SchemaItemListType.php
+++ b/schema_item_list/src/SchemaItemListType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaItemListType extends SchemaTypeBase {
+class SchemaItemListType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_job_posting/schema_job_posting.info b/schema_job_posting/schema_job_posting.info
index 54bfa7b..5cfba0b 100644
--- a/schema_job_posting/schema_job_posting.info
+++ b/schema_job_posting/schema_job_posting.info
@@ -5,4 +5,4 @@ core = 7.x
 dependencies[] = schema_metatag
 
 files[] = src/SchemaJobPostingType.php
-files[] = tests/SchemaMetatagJobPostingTest.test
+files[] = tests/SchemaJobPostingTest.test
diff --git a/schema_job_posting/schema_job_posting.metatag.inc b/schema_job_posting/schema_job_posting.metatag.inc
index 6e02643..b545a3f 100644
--- a/schema_job_posting/schema_job_posting.metatag.inc
+++ b/schema_job_posting/schema_job_posting.metatag.inc
@@ -21,7 +21,7 @@ function schema_job_posting_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_job_posting',
     'form' => array(
       '#type' => 'textfield',
@@ -48,21 +48,21 @@ function schema_job_posting_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_job_posting.baseSalary'] = array(
-    'class' => 'SchemaMonetaryAmountBase',
+    'class' => 'SchemaMetatagMonetaryAmountBase',
     'label' => t('baseSalary'),
     'description' => t('RECOMMENDED BY GOOGLE. The baseSalary of the job_posting.'),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_job_posting.datePosted'] = array(
-    'class' => 'SchemaDateBase',
+    'class' => 'SchemaMetatagDateBase',
     'label' => t('datePosted'),
     'description' => t('REQUIRED BY GOOGLE. Date the job_posting was published.'),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_job_posting.validThrough'] = array(
-    'class' => 'SchemaDateBase',
+    'class' => 'SchemaMetatagDateBase',
     'label' => t('validThrough'),
     'description' => t('REQUIRED BY GOOGLE. The validThrough of the job_posting.'),
     'weight' => ++$weight,
@@ -76,7 +76,7 @@ function schema_job_posting_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_job_posting.hiringOrganization'] = array(
-    'class' => 'SchemaPersonOrgBase',
+    'class' => 'SchemaMetatagPersonOrgBase',
     'label' => t('Company'),
     'description' => t('REQUIRED BY GOOGLE. Company offering the job_posting.'),
     'multiple' => TRUE,
@@ -84,7 +84,7 @@ function schema_job_posting_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_job_posting.jobLocation'] = array(
-    'class' => 'SchemaPlaceBase',
+    'class' => 'SchemaMetatagPlaceBase',
     'label' => t('jobLocation'),
     'description' => t('REQUIRED BY GOOGLE. The location of the job_posting.'),
     'weight' => ++$weight,
diff --git a/schema_job_posting/src/SchemaJobPostingType.php b/schema_job_posting/src/SchemaJobPostingType.php
index 6083aa2..044f96d 100644
--- a/schema_job_posting/src/SchemaJobPostingType.php
+++ b/schema_job_posting/src/SchemaJobPostingType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaJobPostingType extends SchemaTypeBase {
+class SchemaJobPostingType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_job_posting/tests/SchemaMetatagJobPostingTest.test b/schema_job_posting/tests/SchemaMetatagJobPostingTest.test
deleted file mode 100644
index e603df4..0000000
--- a/schema_job_posting/tests/SchemaMetatagJobPostingTest.test
+++ /dev/null
@@ -1,60 +0,0 @@
-<?php
-
-/**
- * Tests that each of the Metatag schema_job_posting tags work correctly.
- */
-class SchemaMetatagJobPostingTest extends SchemaMetatagTagsTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getInfo() {
-    return array(
-      'name' => 'Schema Metatag: JobPosting',
-      'description' => 'Test the schema_job_posting meta tags.',
-      'group' => 'Schema Metatag',
-      'dependencies' => [
-        'ctools',
-        'token',
-        'metatag',
-        'schema_metatag',
-        'schema_job_posting',
-      ],
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setUp(array $modules = array()) {
-    $modules[] = 'schema_job_posting';
-    parent::setUp($modules);
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public $moduleName = 'schema_job_posting';
-
-  /**
-   * {@inheritdoc}
-   */
-  public $schemaTags = [
-    'schema_job_posting.@type' => 'SchemaJobPostingType',
-    'schema_job_posting.title' => 'SchemaNameBase',
-    'schema_job_posting.description' => 'SchemaNameBase',
-    'schema_job_posting.baseSalary' => 'SchemaMonetaryAmountBase',
-    'schema_job_posting.datePosted' => 'SchemaDateBase',
-    'schema_job_posting.validThrough' => 'SchemaDateBase',
-    'schema_job_posting.employmentType' => 'SchemaNameBase',
-    'schema_job_posting.hiringOrganization' => 'SchemaPersonOrgBase',
-    'schema_job_posting.jobLocation' => 'SchemaPlaceBase',
-    'schema_job_posting.identifier' => 'SchemaNameBase',
-    'schema_job_posting.industry' => 'SchemaNameBase',
-    'schema_job_posting.responsibilities' => 'SchemaNameBase',
-    'schema_job_posting.jobBenefits' => 'SchemaNameBase',
-    'schema_job_posting.qualifications' => 'SchemaNameBase',
-  ];
-
-}
diff --git a/schema_metatag.info b/schema_metatag.info
index 6d7ffb6..41b7b99 100644
--- a/schema_metatag.info
+++ b/schema_metatag.info
@@ -12,72 +12,72 @@ dependencies[] = metatag:metatag
 files[] = src/SchemaMetatagManager.php
 files[] = src/SchemaMetatagManagerInterface.php
 files[] = src/SchemaMetatagTestTagInterface.php
-files[] = src/SchemaNameBase.php
-files[] = src/SchemaAddressBase.php
+files[] = src/SchemaMetatagNameBase.php
+files[] = src/SchemaMetatagAddressBase.php
 files[] = src/SchemaAddressTrait.php
-files[] = src/SchemaDateBase.php
-files[] = src/SchemaDurationBase.php
-files[] = src/SchemaIsAccessibleForFreeBase.php
-files[] = src/SchemaItemListElementBase.php
-files[] = src/SchemaItemListElementBreadcrumbBase.php
-files[] = src/SchemaItemListElementViewsBase.php
-files[] = src/SchemaPersonOrgBase.php
+files[] = src/SchemaMetatagDateBase.php
+files[] = src/SchemaMetatagDurationBase.php
+files[] = src/SchemaMetatagIsAccessibleForFreeBase.php
+files[] = src/SchemaMetatagItemListElementBase.php
+files[] = src/SchemaMetatagItemListElementBreadcrumbBase.php
+files[] = src/SchemaMetatagItemListElementViewsBase.php
+files[] = src/SchemaMetatagPersonOrgBase.php
 files[] = src/SchemaPersonOrgTrait.php
-files[] = src/SchemaGeoBase.php
+files[] = src/SchemaMetatagGeoBase.php
 files[] = src/SchemaGeoTrait.php
-files[] = src/SchemaIdReferenceBase.php
+files[] = src/SchemaMetatagIdReferenceBase.php
 files[] = src/SchemaIdReferenceTrait.php
-files[] = src/SchemaImageBase.php
+files[] = src/SchemaMetatagImageBase.php
 files[] = src/SchemaImageTrait.php
-files[] = src/SchemaOfferBase.php
+files[] = src/SchemaMetatagOfferBase.php
 files[] = src/SchemaOfferTrait.php
-files[] = src/SchemaRatingBase.php
+files[] = src/SchemaMetatagRatingBase.php
 files[] = src/SchemaRatingTrait.php
-files[] = src/SchemaReviewBase.php
+files[] = src/SchemaMetatagReviewBase.php
 files[] = src/SchemaReviewTrait.php
 files[] = src/SchemaPivotTrait.php
-files[] = src/SchemaUrlBase.php
-files[] = src/SchemaMainEntityOfPageBase.php
-files[] = src/SchemaTypeBase.php
-files[] = src/SchemaItemListBase.php
-files[] = src/SchemaActionBase.php
+files[] = src/SchemaMetatagUrlBase.php
+files[] = src/SchemaMetatagMainEntityOfPageBase.php
+files[] = src/SchemaMetatagTypeBase.php
+files[] = src/SchemaMetatagItemListBase.php
+files[] = src/SchemaMetatagActionBase.php
 files[] = src/SchemaActionTrait.php
-files[] = src/SchemaCountryBase.php
+files[] = src/SchemaMetatagCountryBase.php
 files[] = src/SchemaCountryTrait.php
-files[] = src/SchemaCreativeWorkBase.php
+files[] = src/SchemaMetatagCreativeWorkBase.php
 files[] = src/SchemaCreativeWorkTrait.php
-files[] = src/SchemaEntryPointBase.php
+files[] = src/SchemaMetatagEntryPointBase.php
 files[] = src/SchemaEntryPointTrait.php
-files[] = src/SchemaEventBase.php
+files[] = src/SchemaMetatagEventBase.php
 files[] = src/SchemaEventTrait.php
-files[] = src/SchemaGovernmentServiceBase.php
+files[] = src/SchemaMetatagGovernmentServiceBase.php
 files[] = src/SchemaGovernmentServiceTrait.php
-files[] = src/SchemaHasPartBase.php
+files[] = src/SchemaMetatagHasPartBase.php
 files[] = src/SchemaHasPartTrait.php
-files[] = src/SchemaNutritionInformationBase.php
+files[] = src/SchemaMetatagNutritionInformationBase.php
 files[] = src/SchemaNutritionInformationTrait.php
-files[] = src/SchemaOpeningHoursSpecificationBase.php
+files[] = src/SchemaMetatagOpeningHoursSpecificationBase.php
 files[] = src/SchemaOpeningHoursSpecificationTrait.php
-files[] = src/SchemaPlaceBase.php
+files[] = src/SchemaMetatagPlaceBase.php
 files[] = src/SchemaPlaceTrait.php
-files[] = src/SchemaProgramMembershipBase.php
+files[] = src/SchemaMetatagProgramMembershipBase.php
 files[] = src/SchemaProgramMembershipTrait.php
-files[] = src/SchemaSpeakableBase.php
+files[] = src/SchemaMetatagSpeakableBase.php
 files[] = src/SchemaSpeakableTrait.php
-files[] = src/SchemaThingBase.php
+files[] = src/SchemaMetatagThingBase.php
 files[] = src/SchemaThingTrait.php
-files[] = src/SchemaTrueFalseBase.php
-files[] = src/SchemaMonetaryAmountBase.php
+files[] = src/SchemaMetatagTrueFalseBase.php
+files[] = src/SchemaMetatagMonetaryAmountBase.php
 files[] = src/SchemaMonetaryAmountTrait.php
-files[] = src/SchemaContactPointBase.php
+files[] = src/SchemaMetatagContactPointBase.php
 files[] = src/SchemaContactPointTrait.php
-files[] = src/SchemaBrandBase.php
+files[] = src/SchemaMetatagBrandBase.php
 files[] = src/SchemaBrandTrait.php
-files[] = src/SchemaHowToStepBase.php
+files[] = src/SchemaMetatagHowToStepBase.php
 files[] = src/SchemaHowToStepTrait.php
-files[] = src/SchemaQuestionBase.php
+files[] = src/SchemaMetatagQuestionBase.php
 files[] = src/SchemaQuestionTrait.php
-files[] = src/SchemaAnswerBase.php
+files[] = src/SchemaMetatagAnswerBase.php
 files[] = src/SchemaAnswerTrait.php
 
 files[] = tests/schema_metatag.base.test
diff --git a/schema_metatag.install b/schema_metatag.install
index bbda98d..11a576f 100644
--- a/schema_metatag.install
+++ b/schema_metatag.install
@@ -61,4 +61,3 @@ function schema_metatag_update_7003(&$sandbox) {
   metatag_update_delete_config('schema_product.brand');
   drupal_set_message(t('Product brand tag options have been changed and expanded, and brand options have been added to Organization and Person. Please reconfigure any Product brand tags.'));
 }
-
diff --git a/schema_movie/schema_movie.info b/schema_movie/schema_movie.info
index 2e6a33a..1626a25 100644
--- a/schema_movie/schema_movie.info
+++ b/schema_movie/schema_movie.info
@@ -7,4 +7,4 @@ dependencies[] = schema_metatag
 files[] = src/SchemaMovieType.php
 files[] = src/SchemaMoviePotentialAction.php
 files[] = src/SchemaMovieHasPart.php
-files[] = tests/SchemaMetatagMovieTest.test
+files[] = tests/SchemaMovieTest.test
diff --git a/schema_movie/schema_movie.metatag.inc b/schema_movie/schema_movie.metatag.inc
index 51ac217..ec9a581 100644
--- a/schema_movie/schema_movie.metatag.inc
+++ b/schema_movie/schema_movie.metatag.inc
@@ -27,7 +27,7 @@ function schema_movie_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_movie',
     'form' => array(
       '#type' => 'textfield',
@@ -60,7 +60,7 @@ function schema_movie_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_movie.image'] = array(
-    'class' => 'SchemaImageBase',
+    'class' => 'SchemaMetatagImageBase',
     'label' => t('image'),
     'description' => t('REQUIRED BY GOOGLE. The primary image for this item.'),
     'image' => TRUE,
@@ -78,7 +78,7 @@ function schema_movie_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_movie.aggregateRating'] = array(
-    'class' => 'SchemaRatingBase',
+    'class' => 'SchemaMetatagRatingBase',
     'label' => t('aggregateRating'),
     'description' => t('RECOMMENDED BY GOOGLE. Aggregate rating of the movie.'),
     'multiple' => TRUE,
@@ -94,7 +94,7 @@ function schema_movie_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_movie.url'] = array(
-    'class' => 'SchemaUrlBase',
+    'class' => 'SchemaMetatagUrlBase',
     'label' => t('review'),
     'description' => t("RECOMMENDED BY GOOGLE. URL to partner's landing page for the work."),
     'url' => TRUE,
@@ -102,7 +102,7 @@ function schema_movie_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_movie.sameAs'] = array(
-    'class' => 'SchemaUrlBase',
+    'class' => 'SchemaMetatagUrlBase',
     'label' => t('sameAs'),
     'description' => t("RECOMMENDED BY GOOGLE. URL to a reference web page that unambiguously identifies the work. Example: IMDB, Wikipedia."),
     'url' => TRUE,
@@ -110,54 +110,54 @@ function schema_movie_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_movie.duration'] = array(
-    'class' => 'SchemaDurationBase',
+    'class' => 'SchemaMetatagDurationBase',
     'label' => t('duration'),
     'description' => t("RECOMMENDED for Movie. Runtime of the work in ISO 8601 format (for example, 'PT2H22M' (142 minutes))."),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_movie.dateCreated'] = array(
-    'class' => 'SchemaDateBase',
+    'class' => 'SchemaMetatagDateBase',
     'label' => t("RECOMMENDED BY GOOGLE. The date on which the work was created or was added to a DataFeed."),
-    'description' => t(''),
+    'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_movie.seasonNumber'] = array(
     'label' => t("REQUIRED BY GOOGLE for TVSeason."),
-    'description' => t(''),
+    'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_movie.episodeNumber'] = array(
     'label' => t("REQUIRED BY GOOGLE for TVEpisode."),
-    'description' => t(''),
+    'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_movie.partOfSeries'] = array(
-    'class' => 'SchemaCreativeWorkBase',
+    'class' => 'SchemaMetatagCreativeWorkBase',
     'label' => t('partOfSeries'),
     'description' => t("REQUIRED BY GOOGLE for TVEpisode, TVSeason."),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_movie.partOfSeason'] = array(
-    'class' => 'SchemaCreativeWorkBase',
+    'class' => 'SchemaMetatagCreativeWorkBase',
     'label' => t('partOfSeason'),
     'description' => t("REQUIRED BY GOOGLE for TVEpisode."),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_movie.releasedEvent'] = array(
-    'class' => 'SchemaEventBase',
+    'class' => 'SchemaMetatagEventBase',
     'label' => t('releasedEvent'),
     'description' => t("RECOMMENDED BY GOOGLE. Details about the original release of the work. Google expects only the country of the location."),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_movie.actor'] = array(
-    'class' => 'SchemaPersonOrgBase',
+    'class' => 'SchemaMetatagPersonOrgBase',
     'label' => t('actor'),
     'description' => t("RECOMMENDED BY GOOGLE. The names of Actors."),
     'multiple' => TRUE,
@@ -165,7 +165,7 @@ function schema_movie_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_movie.director'] = array(
-    'class' => 'SchemaPersonOrgBase',
+    'class' => 'SchemaMetatagPersonOrgBase',
     'label' => t('director'),
     'description' => t("RECOMMENDED BY GOOGLE. The name of Director."),
     'multiple' => TRUE,
@@ -173,7 +173,7 @@ function schema_movie_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_movie.musicBy'] = array(
-    'class' => 'SchemaPersonOrgBase',
+    'class' => 'SchemaMetatagPersonOrgBase',
     'label' => t('musicBy'),
     'description' => t("The composer of the work."),
     'multiple' => TRUE,
@@ -181,7 +181,7 @@ function schema_movie_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_movie.producer'] = array(
-    'class' => 'SchemaPersonOrgBase',
+    'class' => 'SchemaMetatagPersonOrgBase',
     'label' => t('producer'),
     'description' => t("The producer of the work."),
     'multiple' => TRUE,
@@ -189,7 +189,7 @@ function schema_movie_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_movie.productionCompany'] = array(
-    'class' => 'SchemaPersonOrgBase',
+    'class' => 'SchemaMetatagPersonOrgBase',
     'label' => t('productionCompany'),
     'description' => t("The production company or studio that made the work."),
     'multiple' => TRUE,
diff --git a/schema_movie/src/SchemaMovieHasPart.php b/schema_movie/src/SchemaMovieHasPart.php
index 299ab76..f1f6384 100644
--- a/schema_movie/src/SchemaMovieHasPart.php
+++ b/schema_movie/src/SchemaMovieHasPart.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the 'schema_movie_has_part' meta tag.
  */
-class SchemaMovieHasPart extends SchemaHasPartBase {
+class SchemaMovieHasPart extends SchemaMetatagHasPartBase {
 
   /**
    * Generate a form element for this meta tag.
diff --git a/schema_movie/src/SchemaMoviePotentialAction.php b/schema_movie/src/SchemaMoviePotentialAction.php
index c9e6f4a..dfedf56 100644
--- a/schema_movie/src/SchemaMoviePotentialAction.php
+++ b/schema_movie/src/SchemaMoviePotentialAction.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the 'schema_movie_potential_action' meta tag.
  */
-class SchemaMoviePotentialAction extends SchemaActionBase {
+class SchemaMoviePotentialAction extends SchemaMetatagActionBase {
 
   /**
    * Generate a form element for this meta tag.
diff --git a/schema_movie/src/SchemaMovieType.php b/schema_movie/src/SchemaMovieType.php
index 3b9d5e2..e195fe0 100644
--- a/schema_movie/src/SchemaMovieType.php
+++ b/schema_movie/src/SchemaMovieType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaMovieType extends SchemaTypeBase {
+class SchemaMovieType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_movie/tests/SchemaMetatagMovieTest.test b/schema_movie/tests/SchemaMetatagMovieTest.test
deleted file mode 100644
index 0eb0325..0000000
--- a/schema_movie/tests/SchemaMetatagMovieTest.test
+++ /dev/null
@@ -1,68 +0,0 @@
-<?php
-
-/**
- * Tests that each of the Metatag schema_movie tags work correctly.
- */
-class SchemaMetatagMovieTest extends SchemaMetatagTagsTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getInfo() {
-    return array(
-      'name' => 'Schema Metatag: Movie',
-      'description' => 'Test the schema_movie meta tags.',
-      'group' => 'Schema Metatag',
-      'dependencies' => [
-        'ctools',
-        'token',
-        'metatag',
-        'schema_metatag',
-        'schema_movie',
-      ],
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setUp(array $modules = array()) {
-    $modules[] = 'schema_movie';
-    parent::setUp($modules);
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public $moduleName = 'schema_movie';
-
-  /**
-   * {@inheritdoc}
-   */
-  public $schemaTags = [
-    'schema_movie.@type' => 'SchemaMovieType',
-    'schema_movie.name' => 'SchemaNameBase',
-    'schema_movie.@id' => 'SchemaNameBase',
-    'schema_movie.description' => 'SchemaNameBase',
-    'schema_movie.image' => 'SchemaImageBase',
-    'schema_movie.potentialAction' => 'SchemaMoviePotentialAction',
-    'schema_movie.aggregateRating' => 'SchemaRatingBase',
-    'schema_movie.hasPart' => 'SchemaMovieHasPart',
-    'schema_movie.url' => 'SchemaUrlBase',
-    'schema_movie.sameAs' => 'SchemaUrlBase',
-    'schema_movie.duration' => 'SchemaDurationBase',
-    'schema_movie.dateCreated' => 'SchemaDateBase',
-    'schema_movie.seasonNumber' => 'SchemaNameBase',
-    'schema_movie.episodeNumber' => 'SchemaNameBase',
-    'schema_movie.partOfSeries' => 'SchemaCreativeWorkBase',
-    'schema_movie.partOfSeason' => 'SchemaCreativeWorkBase',
-    'schema_movie.releasedEvent' => 'SchemaEventBase',
-    'schema_movie.actor' => 'SchemaPersonOrgBase',
-    'schema_movie.director' => 'SchemaPersonOrgBase',
-    'schema_movie.musicBy' => 'SchemaPersonOrgBase',
-    'schema_movie.producer' => 'SchemaPersonOrgBase',
-    'schema_movie.productionCompany' => 'SchemaPersonOrgBase',
-  ];
-
-}
diff --git a/schema_organization/schema_organization.info b/schema_organization/schema_organization.info
index 7e56038..23fcc88 100644
--- a/schema_organization/schema_organization.info
+++ b/schema_organization/schema_organization.info
@@ -6,4 +6,4 @@ dependencies[] = schema_metatag
 
 files[] = src/SchemaOrganizationType.php
 files[] = src/SchemaOrganizationPotentialAction.php
-files[] = tests/SchemaMetatagOrganizationTest.test
+files[] = tests/SchemaOrganizationTest.test
diff --git a/schema_organization/schema_organization.metatag.inc b/schema_organization/schema_organization.metatag.inc
index 9a90184..1474b09 100644
--- a/schema_organization/schema_organization.metatag.inc
+++ b/schema_organization/schema_organization.metatag.inc
@@ -11,7 +11,11 @@
 function schema_organization_metatag_info() {
   $info['groups']['schema_organization'] = array(
     'label' => t('Schema.org: Organization'),
-    'description' => t('See Schema.org definitions for this Schema type at <a href="!url">!url</a>, Google\'s recommendations at <a href="!google_url">!google_url</a>.', ['!url' => 'http://schema.org/Organization', '!google_url' => 'https://developers.google.com/search/docs/data-types/local-business']),
+    'description' => t('See Schema.org definitions for this Schema type at <a href="!url">!url</a>, Google\'s recommendations at <a href="!google_url">!google_url</a>.',
+    [
+      '!url' => 'http://schema.org/Organization',
+      '!google_url' => 'https://developers.google.com/search/docs/data-types/local-business',
+    ]),
     'form' => array(
       '#weight' => 10,
     ),
@@ -21,7 +25,7 @@ function schema_organization_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_organization',
     'form' => array(
       '#type' => 'textfield',
@@ -38,7 +42,7 @@ function schema_organization_metatag_info() {
   $info['tags']['schema_organization.additionalType'] = array(
     'class' => 'SchemaOrganizationType',
     'label' => t('additionalType'),
-    'description' => t(" An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in."),
+    'description' => t("An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in."),
     'weight' => ++$weight,
   ) + $defaults;
 
@@ -55,7 +59,7 @@ function schema_organization_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_organization.address'] = array(
-    'class' => 'SchemaAddressBase',
+    'class' => 'SchemaMetatagAddressBase',
     'label' => t('address'),
     'description' => t('REQUIRED BY GOOGLE. The address of the organization.'),
     'multiple' => TRUE,
@@ -63,7 +67,7 @@ function schema_organization_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_organization.geo'] = array(
-    'class' => 'SchemaGeoBase',
+    'class' => 'SchemaMetatagGeoBase',
     'label' => t('geo'),
     'description' => t('RECOMMENDED BY GOOGLE. The geographic coordinates of the organization.'),
     'multiple' => TRUE,
@@ -77,15 +81,15 @@ function schema_organization_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_organization.contactPoint'] = array(
-    'class' => 'SchemaContactPointBase',
+    'class' => 'SchemaMetatagContactPointBase',
     'label' => t('contactPoint'),
-    'description' => t("Telephone and other contact point information. See <a href=\":url\">Google Corporate Contact</a>.", [":url" => "https://developers.google.com/search/docs/data-types/corporate-contact"]),
+    'description' => t("Telephone and other contact point information. See <a href=':url'>Google Corporate Contact</a>.", [":url" => "https://developers.google.com/search/docs/data-types/corporate-contact"]),
     'multiple' => TRUE,
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_organization.url'] = array(
-    'class' => 'SchemaUrlBase',
+    'class' => 'SchemaMetatagUrlBase',
     'label' => t('url'),
     'description' => t('RECOMMENDED BY GOOGLE. The url of the organization.'),
     'url' => TRUE,
@@ -93,7 +97,7 @@ function schema_organization_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_organization.sameAs'] = array(
-    'class' => 'SchemaUrlBase',
+    'class' => 'SchemaMetatagUrlBase',
     'label' => t('sameAs'),
     'description' => t('Additional urls, such as wikipedia page or social profiles.'),
     'multiple' => TRUE,
@@ -108,14 +112,14 @@ function schema_organization_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_organization.brand'] = array(
-    'class' => 'SchemaBrandBase',
+    'class' => 'SchemaMetatagBrandBase',
     'label' => t('brand'),
     'description' => t('The brand of the organization.'),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_organization.acceptsReservations'] = array(
-    'class' => 'SchemaTrueFalseBase',
+    'class' => 'SchemaMetatagTrueFalseBase',
     'label' => t('acceptsReservations'),
     'description' => t('RECOMMENDED BY GOOGLE FOR Food Establishments.'),
     'multiple' => FALSE,
@@ -123,7 +127,7 @@ function schema_organization_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_organization.menu'] = array(
-    'class' => 'SchemaUrlBase',
+    'class' => 'SchemaMetatagUrlBase',
     'label' => t('menu'),
     'description' => t('RECOMMENDED BY GOOGLE FOR Food Establishments. The url of the menu.'),
     'url' => TRUE,
@@ -132,7 +136,7 @@ function schema_organization_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_organization.openingHoursSpecification'] = array(
-    'class' => 'SchemaOpeningHoursSpecificationBase',
+    'class' => 'SchemaMetatagOpeningHoursSpecificationBase',
     'label' => t('openingHoursSpecification'),
     'description' => t('RECOMMENDED BY GOOGLE. Hours during which the business location is open.'),
     'multiple' => TRUE,
@@ -140,7 +144,7 @@ function schema_organization_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_organization.image'] = array(
-    'class' => 'SchemaImageBase',
+    'class' => 'SchemaMetatagImageBase',
     'label' => t('image'),
     'description' => t('REQUIRED BY GOOGLE. The primary image for this organization.'),
     'image' => TRUE,
@@ -150,7 +154,7 @@ function schema_organization_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_organization.logo'] = array(
-    'class' => 'SchemaImageBase',
+    'class' => 'SchemaMetatagImageBase',
     'label' => t('logo'),
     'description' => t('The logo for this organization.'),
     'image' => TRUE,
@@ -173,14 +177,14 @@ function schema_organization_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_organization.memberOf'] = array(
-    'class' => 'SchemaProgramMembershipBase',
+    'class' => 'SchemaMetatagProgramMembershipBase',
     'label' => t('memberOf'),
     'description' => t('An Organization (or ProgramMembership) to which this Organization belongs.'),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_organization.aggregateRating'] = array(
-    'class' => 'SchemaRatingBase',
+    'class' => 'SchemaMetatagRatingBase',
     'label' => t('aggregateRating'),
     'description' => '',
     'multiple' => TRUE,
@@ -188,7 +192,7 @@ function schema_organization_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_organization.starRating'] = array(
-    'class' => 'SchemaRatingBase',
+    'class' => 'SchemaMetatagRatingBase',
     'label' => t('starRating'),
     'description' => t('An official rating for a lodging business or food establishment, e.g. from national associations or standards bodies.'),
     'multiple' => TRUE,
@@ -196,7 +200,7 @@ function schema_organization_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_organization.review'] = array(
-    'class' => 'SchemaReviewBase',
+    'class' => 'SchemaMetatagReviewBase',
     'label' => t('review'),
     'description' => '',
     'multiple' => TRUE,
diff --git a/schema_organization/src/SchemaOrganizationPotentialAction.php b/schema_organization/src/SchemaOrganizationPotentialAction.php
index 6901776..dad7e2f 100644
--- a/schema_organization/src/SchemaOrganizationPotentialAction.php
+++ b/schema_organization/src/SchemaOrganizationPotentialAction.php
@@ -3,14 +3,20 @@
 /**
  * Provides a plugin for the 'schema_organization_potential_action' meta tag.
  */
-class SchemaOrganizationPotentialAction extends SchemaActionBase {
+class SchemaOrganizationPotentialAction extends SchemaMetatagActionBase {
 
   /**
    * Generate a form element for this meta tag.
    */
   public function getForm(array $options = []) {
 
-    $this->actions = ['Action', 'TradeAction', 'OrganizeAction', 'OrderAction', 'ReserveAction'];
+    $this->actions = [
+      'Action',
+      'TradeAction',
+      'OrganizeAction',
+      'OrderAction',
+      'ReserveAction',
+    ];
 
     $form = parent::getForm($options);
     return $form;
diff --git a/schema_organization/src/SchemaOrganizationType.php b/schema_organization/src/SchemaOrganizationType.php
index 0e05a57..f77afc6 100644
--- a/schema_organization/src/SchemaOrganizationType.php
+++ b/schema_organization/src/SchemaOrganizationType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaOrganizationType extends SchemaTypeBase {
+class SchemaOrganizationType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_organization/tests/SchemaMetatagOrganizationTest.test b/schema_organization/tests/SchemaMetatagOrganizationTest.test
deleted file mode 100644
index d013f4f..0000000
--- a/schema_organization/tests/SchemaMetatagOrganizationTest.test
+++ /dev/null
@@ -1,69 +0,0 @@
-<?php
-
-/**
- * Tests that each of the Metatag schema_organization tags work correctly.
- */
-class SchemaMetatagOrganizationTest extends SchemaMetatagTagsTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getInfo() {
-    return array(
-      'name' => 'Schema Metatag: Organization',
-      'description' => 'Test the schema_organization meta tags.',
-      'group' => 'Schema Metatag',
-      'dependencies' => [
-        'ctools',
-        'token',
-        'metatag',
-        'schema_metatag',
-        'schema_organization',
-      ],
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setUp(array $modules = array()) {
-    $modules[] = 'schema_organization';
-    parent::setUp($modules);
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public $moduleName = 'schema_organization';
-
-  /**
-   * {@inheritdoc}
-   */
-  public $schemaTags = [
-    'schema_organization.@type' => 'SchemaOrganizationType',
-    'schema_organization.additionalType' => 'SchemaOrganizationType',
-    'schema_organization.@id' => 'SchemaNameBase',
-    'schema_organization.name' => 'SchemaNameBase',
-    'schema_organization.acceptsReservations' => 'SchemaTrueFalseBase',
-    'schema_organization.menu' => 'SchemaUrlBase',
-    'schema_organization.url' => 'SchemaUrlBase',
-    'schema_organization.sameAs' => 'SchemaUrlBase',
-    'schema_organization.address' => 'SchemaAddressBase',
-    'schema_organization.geo' => 'SchemaGeoBase',
-    'schema_organization.image' => 'SchemaImageBase',
-    'schema_organization.logo' => 'SchemaImageBase',
-    'schema_organization.telephone' => 'SchemaNameBase',
-    'schema_organization.description' => 'SchemaNameBase',
-    'schema_organization.openingHoursSpecification' => 'SchemaOpeningHoursSpecificationBase',
-    'schema_organization.priceRange' => 'SchemaNameBase',
-    'schema_organization.memberOf' => 'SchemaProgramMembershipBase',
-    'schema_organization.potentialAction' => 'SchemaOrganizationPotentialAction',
-    'schema_organization.aggregateRating' => 'SchemaRatingBase',
-    'schema_organization.starRating' => 'SchemaRatingBase',
-    'schema_organization.review' => 'SchemaReviewBase',
-    'schema_organization.contactPoint' => 'SchemaContactPointBase',
-    'schema_organization.brand' => 'SchemaBrandBase',
-  ];
-
-}
diff --git a/schema_person/schema_person.info b/schema_person/schema_person.info
index 8bc4807..6ac1dd9 100644
--- a/schema_person/schema_person.info
+++ b/schema_person/schema_person.info
@@ -5,4 +5,4 @@ core = 7.x
 dependencies[] = schema_metatag:schema_metatag
 
 files[] = src/SchemaPersonType.php
-files[] = tests/SchemaMetatagPersonTest.test
+files[] = tests/SchemaPersonTest.test
diff --git a/schema_person/schema_person.metatag.inc b/schema_person/schema_person.metatag.inc
index b60037f..b823895 100644
--- a/schema_person/schema_person.metatag.inc
+++ b/schema_person/schema_person.metatag.inc
@@ -21,7 +21,7 @@ function schema_person_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_person',
     'form' => array(
       '#type' => 'textfield',
@@ -72,7 +72,7 @@ function schema_person_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_person.birthDate'] = array(
-    'class' => 'SchemaDateBase',
+    'class' => 'SchemaMetatagDateBase',
     'label' => t('birthDate'),
     'description' => t('Date of birth of the person in ISO 8601 format, 2017-12-31. To format the date properly, use a token like [node:created:html_datetime].'),
     'weight' => ++$weight,
@@ -91,7 +91,7 @@ function schema_person_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_person.url'] = array(
-    'class' => 'SchemaUrlBase',
+    'class' => 'SchemaMetatagUrlBase',
     'label' => t('url'),
     'description' => t('The url of the person.'),
     'url' => TRUE,
@@ -99,7 +99,7 @@ function schema_person_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_person.sameAs'] = array(
-    'class' => 'SchemaUrlBase',
+    'class' => 'SchemaMetatagUrlBase',
     'label' => t('sameAs'),
     'description' => t('Social links and other urls of the person.'),
     'url' => TRUE,
@@ -107,7 +107,7 @@ function schema_person_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_person.address'] = array(
-    'class' => 'SchemaAddressBase',
+    'class' => 'SchemaMetatagAddressBase',
     'label' => t('address'),
     'description' => t('The address of the person.'),
     'multiple' => TRUE,
@@ -128,9 +128,9 @@ function schema_person_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_person.contactPoint'] = array(
-    'class' => 'SchemaContactPointBase',
+    'class' => 'SchemaMetatagContactPointBase',
     'label' => t('contactPoint'),
-    'description' => t("Telephone and other contact point information. See <a href=\":url\">ContactPoint</a>.", [":url" => "https://schema.org/ContactPoint"]),
+    'description' => t("Telephone and other contact point information. See <a href=':url'>ContactPoint</a>.", [":url" => "https://schema.org/ContactPoint"]),
     'multiple' => TRUE,
     'weight' => ++$weight,
   ) + $defaults;
@@ -142,7 +142,7 @@ function schema_person_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_person.image'] = array(
-    'class' => 'SchemaImageBase',
+    'class' => 'SchemaMetatagImageBase',
     'label' => t('image'),
     'description' => t('The primary image for the person.'),
     'image' => TRUE,
@@ -152,14 +152,14 @@ function schema_person_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_person.brand'] = array(
-    'class' => 'SchemaBrandBase',
+    'class' => 'SchemaMetatagBrandBase',
     'label' => t('brand'),
     'description' => t('The brand of the person.'),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_person.affiliation'] = array(
-    'class' => 'SchemaPersonOrgBase',
+    'class' => 'SchemaMetatagPersonOrgBase',
     'label' => t('affiliation'),
     'description' => t('An organization that this person is affiliated with. For example, a school/university, a club, or a team.'),
     'multiple' => TRUE,
@@ -167,7 +167,7 @@ function schema_person_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_person.memberOf'] = array(
-    'class' => 'SchemaProgramMembershipBase',
+    'class' => 'SchemaMetatagProgramMembershipBase',
     'label' => t('memberOf'),
     'description' => t('An Organization (or ProgramMembership) to which this Person belongs.'),
     'multiple' => TRUE,
@@ -175,7 +175,7 @@ function schema_person_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_person.worksFor'] = array(
-    'class' => 'SchemaPersonOrgBase',
+    'class' => 'SchemaMetatagPersonOrgBase',
     'label' => t('worksFor'),
     'description' => t('Organizations that the person works for.'),
     'multiple' => TRUE,
diff --git a/schema_person/src/SchemaPersonType.php b/schema_person/src/SchemaPersonType.php
index 7b6bf5c..6ce30d8 100644
--- a/schema_person/src/SchemaPersonType.php
+++ b/schema_person/src/SchemaPersonType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaPersonType extends SchemaTypeBase {
+class SchemaPersonType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_person/tests/SchemaMetatagPersonTest.test b/schema_person/tests/SchemaMetatagPersonTest.test
deleted file mode 100644
index c5a6c99..0000000
--- a/schema_person/tests/SchemaMetatagPersonTest.test
+++ /dev/null
@@ -1,68 +0,0 @@
-<?php
-
-/**
- * Tests that each of the Metatag schema_person tags work correctly.
- */
-class SchemaMetatagPersonTest extends SchemaMetatagTagsTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getInfo() {
-    return array(
-      'name' => 'Schema Metatag: Person',
-      'description' => 'Test the schema_person meta tags.',
-      'group' => 'Schema Metatag',
-      'dependencies' => [
-        'ctools',
-        'token',
-        'metatag',
-        'schema_metatag',
-        'schema_person',
-      ],
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setUp(array $modules = array()) {
-    $modules[] = 'schema_person';
-    parent::setUp($modules);
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public $moduleName = 'schema_person';
-
-  /**
-   * {@inheritdoc}
-   */
-  public $schemaTags = [
-    'schema_person.@type' => 'SchemaPersonType',
-    'schema_person.@id' => 'SchemaNameBase',
-    'schema_person.name' => 'SchemaNameBase',
-    'schema_person.givenName' => 'SchemaNameBase',
-    'schema_person.familyName' => 'SchemaNameBase',
-    'schema_person.additionalName' => 'SchemaNameBase',
-    'schema_person.alternateName' => 'SchemaNameBase',
-    'schema_person.birthDate' => 'SchemaDateBase',
-    'schema_person.gender' => 'SchemaNameBase',
-    'schema_person.jobTitle' => 'SchemaNameBase',
-    'schema_person.url' => 'SchemaUrlBase',
-    'schema_person.sameAs' => 'SchemaUrlBase',
-    'schema_person.address' => 'SchemaAddressBase',
-    'schema_person.email' => 'SchemaNameBase',
-    'schema_person.telephone' => 'SchemaNameBase',
-    'schema_person.description' => 'SchemaNameBase',
-    'schema_person.image' => 'SchemaImageBase',
-    'schema_person.affiliation' => 'SchemaPersonOrgBase',
-    'schema_person.memberOf' => 'SchemaProgramMembershipBase',
-    'schema_person.worksFor' => 'SchemaPersonOrgBase',
-    'schema_person.contactPoint' => 'SchemaContactPointBase',
-    'schema_person.brand' => 'SchemaBrandBase',
-  ];
-
-}
diff --git a/schema_place/schema_place.info b/schema_place/schema_place.info
index e290b5a..06d8298 100644
--- a/schema_place/schema_place.info
+++ b/schema_place/schema_place.info
@@ -5,4 +5,4 @@ core = 7.x
 dependencies[] = schema_metatag
 
 files[] = src/SchemaPlaceType.php
-files[] = tests/SchemaMetatagPlaceTest.test
+files[] = tests/SchemaPlaceTest.test
diff --git a/schema_place/schema_place.metatag.inc b/schema_place/schema_place.metatag.inc
index 0e8f298..f1f9d87 100644
--- a/schema_place/schema_place.metatag.inc
+++ b/schema_place/schema_place.metatag.inc
@@ -21,7 +21,7 @@ function schema_place_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_place',
     'form' => array(
       '#type' => 'textfield',
@@ -48,7 +48,7 @@ function schema_place_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_place.image'] = array(
-    'class' => 'SchemaImageBase',
+    'class' => 'SchemaMetatagImageBase',
     'label' => t('image'),
     'description' => t('The primary image for this Place.'),
     'image' => TRUE,
@@ -72,14 +72,14 @@ function schema_place_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_place.address'] = array(
-    'class' => 'SchemaAddressBase',
+    'class' => 'SchemaMetatagAddressBase',
     'label' => t('address'),
     'description' => t('The address of the place.'),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_place.geo'] = array(
-    'class' => 'SchemaGeoBase',
+    'class' => 'SchemaMetatagGeoBase',
     'label' => t('geo'),
     'description' => t('The geographic coordinates of the Place.'),
     'weight' => ++$weight,
diff --git a/schema_place/src/SchemaPlaceType.php b/schema_place/src/SchemaPlaceType.php
index b1fc1c3..0e4a507 100644
--- a/schema_place/src/SchemaPlaceType.php
+++ b/schema_place/src/SchemaPlaceType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaPlaceType extends SchemaTypeBase {
+class SchemaPlaceType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_place/tests/SchemaMetatagPlaceTest.test b/schema_place/tests/SchemaMetatagPlaceTest.test
deleted file mode 100644
index 157bf48..0000000
--- a/schema_place/tests/SchemaMetatagPlaceTest.test
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php
-
-/**
- * Tests that each of the Metatag schema_place tags work correctly.
- */
-class SchemaMetatagPlaceTest extends SchemaMetatagTagsTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getInfo() {
-    return array(
-      'name' => 'Schema Metatag: Place',
-      'description' => 'Test the schema_place meta tags.',
-      'group' => 'Schema Metatag',
-      'dependencies' => [
-        'ctools',
-        'token',
-        'metatag',
-        'schema_metatag',
-        'schema_place',
-      ],
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setUp(array $modules = array()) {
-    $modules[] = 'schema_place';
-    parent::setUp($modules);
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public $moduleName = 'schema_place';
-
-  /**
-   * {@inheritdoc}
-   */
-  public $schemaTags = [
-    'schema_place.@type' => 'SchemaPlaceType',
-    'schema_place.name' => 'SchemaNameBase',
-    'schema_place.description' => 'SchemaNameBase',
-    'schema_place.image' => 'SchemaImageBase',
-    'schema_place.telephone' => 'SchemaNameBase',
-    'schema_place.url' => 'SchemaNameBase',
-    'schema_place.address' => 'SchemaAddressBase',
-    'schema_place.geo' => 'SchemaGeoBase',
-  ];
-
-}
diff --git a/schema_product/schema_product.info b/schema_product/schema_product.info
index 35c1fe7..bc05b5a 100644
--- a/schema_product/schema_product.info
+++ b/schema_product/schema_product.info
@@ -5,4 +5,4 @@ core = 7.x
 dependencies[] = schema_metatag
 
 files[] = src/SchemaProductType.php
-files[] = tests/SchemaMetatagProductTest.test
+files[] = tests/SchemaProductTest.test
diff --git a/schema_product/schema_product.metatag.inc b/schema_product/schema_product.metatag.inc
index 9eaa03b..907450c 100644
--- a/schema_product/schema_product.metatag.inc
+++ b/schema_product/schema_product.metatag.inc
@@ -11,7 +11,11 @@
 function schema_product_metatag_info() {
   $info['groups']['schema_product'] = array(
     'label' => t('Schema.org: Product'),
-    'description' => t('See Schema.org definitions for this Schema type at <a href="!url">!url</a>, Google\'s recommendations at <a href="!google_url">!google_url</a>.', ['!url' => 'http://schema.org/Product', '!google_url' => 'https://developers.google.com/search/docs/data-types/product']),
+    'description' => t('See Schema.org definitions for this Schema type at <a href="!url">!url</a>, Google\'s recommendations at <a href="!google_url">!google_url</a>.',
+    [
+      '!url' => 'http://schema.org/Product',
+      '!google_url' => 'https://developers.google.com/search/docs/data-types/product',
+    ]),
     'form' => array(
       '#weight' => 10,
     ),
@@ -21,7 +25,7 @@ function schema_product_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_product',
     'form' => array(
       '#type' => 'textfield',
@@ -42,7 +46,7 @@ function schema_product_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_product.brand'] = array(
-    'class' => 'SchemaBrandBase',
+    'class' => 'SchemaMetatagBrandBase',
     'label' => t('brand'),
     'description' => t('REQUIRED BY GOOGLE. The brand of the product.'),
     'weight' => ++$weight,
@@ -109,7 +113,7 @@ function schema_product_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_product.image'] = array(
-    'class' => 'SchemaImageBase',
+    'class' => 'SchemaMetatagImageBase',
     'label' => t('image'),
     'description' => t('REQUIRED BY GOOGLE. The primary image for this item.'),
     'image' => TRUE,
@@ -119,7 +123,7 @@ function schema_product_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_product.offers'] = array(
-    'class' => 'SchemaOfferBase',
+    'class' => 'SchemaMetatagOfferBase',
     'label' => t('offers'),
     'description' => t('RECOMMENDED BY GOOGLE. Offers associated with the product.'),
     'multiple' => TRUE,
@@ -127,7 +131,7 @@ function schema_product_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_product.aggregateRating'] = array(
-    'class' => 'SchemaRatingBase',
+    'class' => 'SchemaMetatagRatingBase',
     'label' => t('aggregateRating'),
     'description' => t('RECOMMENDED BY GOOGLE. Aggregate rating of the product.'),
     'multiple' => TRUE,
@@ -135,7 +139,7 @@ function schema_product_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_product.review'] = array(
-    'class' => 'SchemaReviewBase',
+    'class' => 'SchemaMetatagReviewBase',
     'label' => t('review'),
     'description' => t('RECOMMENDED BY GOOGLE. Review of the product.'),
     'multiple' => TRUE,
diff --git a/schema_product/src/SchemaProductType.php b/schema_product/src/SchemaProductType.php
index e6718eb..abf41b8 100644
--- a/schema_product/src/SchemaProductType.php
+++ b/schema_product/src/SchemaProductType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaProductType extends SchemaTypeBase {
+class SchemaProductType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_product/tests/SchemaMetatagProductTest.test b/schema_product/tests/SchemaMetatagProductTest.test
deleted file mode 100644
index 06eeac8..0000000
--- a/schema_product/tests/SchemaMetatagProductTest.test
+++ /dev/null
@@ -1,63 +0,0 @@
-<?php
-
-/**
- * Tests that each of the Metatag schema_product tags work correctly.
- */
-class SchemaMetatagProductTest extends SchemaMetatagTagsTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getInfo() {
-    return array(
-      'name' => 'Schema Metatag: Product',
-      'description' => 'Test the schema_product meta tags.',
-      'group' => 'Schema Metatag',
-      'dependencies' => [
-        'ctools',
-        'token',
-        'metatag',
-        'schema_metatag',
-        'schema_product',
-      ],
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setUp(array $modules = array()) {
-    $modules[] = 'schema_product';
-    parent::setUp($modules);
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public $moduleName = 'schema_product';
-
-  /**
-   * {@inheritdoc}
-   */
-  public $schemaTags = [
-    'schema_product.@type' => 'SchemaProductType',
-    'schema_product.name' => 'SchemaNameBase',
-    'schema_product.brand' => 'SchemaBrandBase',
-    'schema_product.description' => 'SchemaNameBase',
-    'schema_product.image' => 'SchemaImageBase',
-    'schema_product.offers' => 'SchemaOfferBase',
-    'schema_product.aggregateRating' => 'SchemaRatingBase',
-    'schema_product.review' => 'SchemaReviewBase',
-    'schema_product.category' => 'SchemaNameBase',
-    'schema_product.url' => 'SchemaNameBase',
-    'schema_product.sku' => 'SchemaNameBase',
-    'schema_product.gtin8' => 'SchemaNameBase',
-    'schema_product.gtin12' => 'SchemaNameBase',
-    'schema_product.gtin13' => 'SchemaNameBase',
-    'schema_product.gtin14' => 'SchemaNameBase',
-    'schema_product.isbn' => 'SchemaNameBase',
-    'schema_product.mpn' => 'SchemaNameBase',
-  ];
-
-}
diff --git a/schema_qa_page/schema_qa_page.info b/schema_qa_page/schema_qa_page.info
index 6c01bc2..68e050a 100644
--- a/schema_qa_page/schema_qa_page.info
+++ b/schema_qa_page/schema_qa_page.info
@@ -5,4 +5,4 @@ core = 7.x
 dependencies[] = schema_metatag
 
 files[] = src/SchemaQAPageType.php
-files[] = tests/SchemaMetatagQAPageTest.test
+files[] = tests/SchemaQAPageTest.test
diff --git a/schema_qa_page/schema_qa_page.metatag.inc b/schema_qa_page/schema_qa_page.metatag.inc
index 83e450a..e63234d 100644
--- a/schema_qa_page/schema_qa_page.metatag.inc
+++ b/schema_qa_page/schema_qa_page.metatag.inc
@@ -26,7 +26,7 @@ function schema_qa_page_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_qa_page',
     'form' => array(
       '#type' => 'textfield',
@@ -41,7 +41,7 @@ function schema_qa_page_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_qa_page.mainEntity'] = array(
-    'class' => 'SchemaQuestionBase',
+    'class' => 'SchemaMetatagQuestionBase',
     'label' => t('text'),
     'description' => t('REQUIRED BY GOOGLE. An array of Question elements which comprise the list of answered questions that this QAPage or FAQPage is about.'),
     'multiple' => TRUE,
diff --git a/schema_qa_page/src/SchemaQAPageType.php b/schema_qa_page/src/SchemaQAPageType.php
index d977683..ca5546f 100644
--- a/schema_qa_page/src/SchemaQAPageType.php
+++ b/schema_qa_page/src/SchemaQAPageType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaQAPageType extends SchemaTypeBase {
+class SchemaQAPageType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_qa_page/tests/SchemaMetatagQAPageTest.test b/schema_qa_page/tests/SchemaMetatagQAPageTest.test
deleted file mode 100644
index 9b68a91..0000000
--- a/schema_qa_page/tests/SchemaMetatagQAPageTest.test
+++ /dev/null
@@ -1,48 +0,0 @@
-<?php
-
-/**
- * Tests that each of the Metatag schema_qa_page tags work correctly.
- */
-class SchemaMetatagQAPageTest extends SchemaMetatagTagsTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getInfo() {
-    return array(
-      'name' => 'Schema Metatag: QAPage/FAQPage',
-      'description' => 'Test the schema_qa_page meta tags.',
-      'group' => 'Schema Metatag',
-      'dependencies' => [
-        'ctools',
-        'token',
-        'metatag',
-        'schema_metatag',
-        'schema_qa_page',
-      ],
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setUp(array $modules = array()) {
-    $modules[] = 'schema_qa_page';
-    parent::setUp($modules);
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public $moduleName = 'schema_qa_page';
-
-  /**
-   * {@inheritdoc}
-   */
-  public $schemaTags = [
-    'schema_qa_page.@type' => 'SchemaQAPageType',
-    'schema_qa_page.mainEntity' => 'SchemaQuestionBase',
-  ];
-
-}
diff --git a/schema_recipe/schema_recipe.info b/schema_recipe/schema_recipe.info
index d8b8439..5531dea 100644
--- a/schema_recipe/schema_recipe.info
+++ b/schema_recipe/schema_recipe.info
@@ -5,4 +5,4 @@ core = 7.x
 dependencies[] = schema_metatag
 
 files[] = src/SchemaRecipeType.php
-files[] = tests/SchemaMetatagRecipeTest.test
+files[] = tests/SchemaRecipeTest.test
diff --git a/schema_recipe/schema_recipe.metatag.inc b/schema_recipe/schema_recipe.metatag.inc
index e454499..ecb7592 100644
--- a/schema_recipe/schema_recipe.metatag.inc
+++ b/schema_recipe/schema_recipe.metatag.inc
@@ -11,7 +11,11 @@
 function schema_recipe_metatag_info() {
   $info['groups']['schema_recipe'] = array(
     'label' => t('Schema.org: Recipe'),
-    'description' => t('See Schema.org definitions for this Schema type at <a href="!url">!url</a>, Google\'s recommendations at <a href="!google_url">!google_url</a>.', ['!url' => 'http://schema.org/Recipe', '!google_url' => 'https://developers.google.com/search/docs/data-types/recipe']),
+    'description' => t('See Schema.org definitions for this Schema type at <a href="!url">!url</a>, Google\'s recommendations at <a href="!google_url">!google_url</a>.',
+    [
+      '!url' => 'http://schema.org/Recipe',
+      '!google_url' => 'https://developers.google.com/search/docs/data-types/recipe',
+    ]),
     'form' => array(
       '#weight' => 10,
     ),
@@ -21,7 +25,7 @@ function schema_recipe_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_recipe',
     'form' => array(
       '#type' => 'textfield',
@@ -48,7 +52,7 @@ function schema_recipe_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_recipe.image'] = array(
-    'class' => 'SchemaImageBase',
+    'class' => 'SchemaMetatagImageBase',
     'label' => t('image'),
     'description' => t('RECOMMENDED BY GOOGLE. The primary image for this item.'),
     'image' => TRUE,
@@ -58,42 +62,42 @@ function schema_recipe_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_recipe.author'] = array(
-    'class' => 'SchemaPersonOrgBase',
+    'class' => 'SchemaMetatagPersonOrgBase',
     'label' => t('author'),
     'description' => t('RECOMMENDED BY GOOGLE. Author of the recipe.'),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_recipe.cookTime'] = array(
-    'class' => 'SchemaDurationBase',
+    'class' => 'SchemaMetatagDurationBase',
     'label' => t('cookTime'),
     'description' => t('RECOMMENDED BY GOOGLE. Cook Time (The time it takes to actually cook the dish, in ISO 8601 duration format.)'),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_recipe.prepTime'] = array(
-    'class' => 'SchemaDurationBase',
+    'class' => 'SchemaMetatagDurationBase',
     'label' => t('prepTime'),
     'description' => t("RECOMMENDED BY GOOGLE. Cook Time (Prep Time (the name of the recipe, which isn’t necessarily the name of the node)."),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_recipe.totalTime'] = array(
-    'class' => 'SchemaDurationBase',
+    'class' => 'SchemaMetatagDurationBase',
     'label' => t('totalTime'),
     'description' => t("Total Time (The total time required to perform instructions or a direction (including time to prepare the supplies), in ISO 8601 duration format."),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_recipe.datePublished'] = array(
-    'class' => 'SchemaDateBase',
+    'class' => 'SchemaMetatagDateBase',
     'label' => t('datePublished'),
     'description' => t('RECOMMEND BY GOOGLE. Date the recipe was published.'),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_recipe.nutrition'] = array(
-    'class' => 'SchemaNutritionInformationBase',
+    'class' => 'SchemaMetatagNutritionInformationBase',
     'label' => t('nutrition'),
     'description' => t('RECOMMENDED BY GOOGLE. The number of calories in the recipe.'),
     'weight' => ++$weight,
@@ -134,7 +138,7 @@ function schema_recipe_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_recipe.aggregateRating'] = array(
-    'class' => 'SchemaRatingBase',
+    'class' => 'SchemaMetatagRatingBase',
     'label' => t('rating'),
     'description' => t('RECOMMENDED BY GOOGLE. The average review score assigned to the item.'),
     'multiple' => TRUE,
@@ -142,7 +146,7 @@ function schema_recipe_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_recipe.review'] = array(
-    'class' => 'SchemaReviewBase',
+    'class' => 'SchemaMetatagReviewBase',
     'label' => t('review'),
     'description' => t('RECOMMENDED BY GOOGLE. A review of the dish.'),
     'multiple' => TRUE,
diff --git a/schema_recipe/src/SchemaRecipeType.php b/schema_recipe/src/SchemaRecipeType.php
index 0c04cc5..f99f776 100644
--- a/schema_recipe/src/SchemaRecipeType.php
+++ b/schema_recipe/src/SchemaRecipeType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaRecipeType extends SchemaTypeBase {
+class SchemaRecipeType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_recipe/tests/SchemaMetatagRecipeTest.test b/schema_recipe/tests/SchemaMetatagRecipeTest.test
deleted file mode 100644
index 5c6e2c5..0000000
--- a/schema_recipe/tests/SchemaMetatagRecipeTest.test
+++ /dev/null
@@ -1,63 +0,0 @@
-<?php
-
-/**
- * Tests that each of the Metatag schema_recipe tags work correctly.
- */
-class SchemaMetatagRecipeTest extends SchemaMetatagTagsTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getInfo() {
-    return array(
-      'name' => 'Schema Metatag: Recipe',
-      'description' => 'Test the schema_recipe meta tags.',
-      'group' => 'Schema Metatag',
-      'dependencies' => [
-        'ctools',
-        'token',
-        'metatag',
-        'schema_metatag',
-        'schema_recipe',
-      ],
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setUp(array $modules = array()) {
-    $modules[] = 'schema_recipe';
-    parent::setUp($modules);
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public $moduleName = 'schema_recipe';
-
-  /**
-   * {@inheritdoc}
-   */
-  public $schemaTags = [
-    'schema_recipe.@type' => 'SchemaRecipeType',
-    'schema_recipe.name' => 'SchemaNameBase',
-    'schema_recipe.description' => 'SchemaNameBase',
-    'schema_recipe.image' => 'SchemaImageBase',
-    'schema_recipe.author' => 'SchemaPersonOrgBase',
-    'schema_recipe.cookTime' => 'SchemaDurationBase',
-    'schema_recipe.prepTime' => 'SchemaDurationBase',
-    'schema_recipe.totalTime' => 'SchemaDurationBase',
-    'schema_recipe.datePublished' => 'SchemaDateBase',
-    'schema_recipe.recipeCategory' => 'SchemaNameBase',
-    'schema_recipe.recipeIngredient' => 'SchemaNameBase',
-    'schema_recipe.recipeInstructions' => 'SchemaNameBase',
-    'schema_recipe.recipeCuisine' => 'SchemaNameBase',
-    'schema_recipe.recipeYield' => 'SchemaNameBase',
-    'schema_recipe.nutrition' => 'SchemaNutritionInformationBase',
-    'schema_recipe.aggregateRating' => 'SchemaRatingBase',
-    'schema_recipe.review' => 'SchemaReviewBase',
-  ];
-
-}
diff --git a/schema_review/schema_review.info b/schema_review/schema_review.info
index add4b1e..b678f76 100644
--- a/schema_review/schema_review.info
+++ b/schema_review/schema_review.info
@@ -5,4 +5,4 @@ core = 7.x
 dependencies[] = schema_metatag
 
 files[] = src/SchemaReviewType.php
-files[] = tests/SchemaMetatagReviewTest.test
+files[] = tests/SchemaReviewTest.test
diff --git a/schema_review/schema_review.metatag.inc b/schema_review/schema_review.metatag.inc
index 810754e..d8812ce 100644
--- a/schema_review/schema_review.metatag.inc
+++ b/schema_review/schema_review.metatag.inc
@@ -11,7 +11,11 @@
 function schema_review_metatag_info() {
   $info['groups']['schema_review'] = array(
     'label' => t('Schema.org: Review'),
-    'description' => t('See Schema.org definitions for this Schema type at <a href="!url">!url</a>, Google\'s recommendations at <a href="!google_url">!google_url</a>.', ['!url' => 'http://schema.org/Review', '!google_url' => 'https://developers.google.com/search/docs/data-types/review']),
+    'description' => t('See Schema.org definitions for this Schema type at <a href="!url">!url</a>, Google\'s recommendations at <a href="!google_url">!google_url</a>.',
+    [
+      '!url' => 'http://schema.org/Review',
+      '!google_url' => 'https://developers.google.com/search/docs/data-types/review',
+    ]),
     'form' => array(
       '#weight' => 10,
     ),
@@ -21,7 +25,7 @@ function schema_review_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_review',
     'form' => array(
       '#type' => 'textfield',
@@ -42,7 +46,7 @@ function schema_review_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_review.itemReviewed'] = array(
-    'class' => 'SchemaThingBase',
+    'class' => 'SchemaMetatagThingBase',
     'label' => t('itemReviewed'),
     'description' => t('REQUIRED BY GOOGLE. The item that is being reviewed/rated.'),
     'weight' => ++$weight,
@@ -55,7 +59,7 @@ function schema_review_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_review.author'] = array(
-    'class' => 'SchemaPersonOrgBase',
+    'class' => 'SchemaMetatagPersonOrgBase',
     'label' => t('author'),
     'description' => t('RECOMMENDED BY GOOGLE. The author of this review or rating.'),
     'multiple' => TRUE,
@@ -63,14 +67,14 @@ function schema_review_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_review.datePublished'] = array(
-    'class' => 'SchemaDateBase',
+    'class' => 'SchemaMetatagDateBase',
     'label' => t('datePublished'),
     'description' => t('REQUIRED BY GOOGLE. Date the review was published.'),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_review.reviewRating'] = array(
-    'class' => 'SchemaRatingBase',
+    'class' => 'SchemaMetatagRatingBase',
     'label' => t('reviewRating'),
     'description' => t('RECOMMENDED BY GOOGLE. The rating given in this review.'),
     'multiple' => TRUE,
diff --git a/schema_review/src/SchemaReviewType.php b/schema_review/src/SchemaReviewType.php
index fad845e..366cd41 100644
--- a/schema_review/src/SchemaReviewType.php
+++ b/schema_review/src/SchemaReviewType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaReviewType extends SchemaTypeBase {
+class SchemaReviewType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_review/tests/SchemaMetatagReviewTest.test b/schema_review/tests/SchemaMetatagReviewTest.test
deleted file mode 100644
index 25fc270..0000000
--- a/schema_review/tests/SchemaMetatagReviewTest.test
+++ /dev/null
@@ -1,53 +0,0 @@
-<?php
-
-/**
- * Tests that each of the Metatag schema_review tags work correctly.
- */
-class SchemaMetatagReviewTest extends SchemaMetatagTagsTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getInfo() {
-    return array(
-      'name' => 'Schema Metatag: Review',
-      'description' => 'Test the schema_review meta tags.',
-      'group' => 'Schema Metatag',
-      'dependencies' => [
-        'ctools',
-        'token',
-        'metatag',
-        'schema_metatag',
-        'schema_review',
-      ],
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setUp(array $modules = array()) {
-    $modules[] = 'schema_review';
-    parent::setUp($modules);
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public $moduleName = 'schema_review';
-
-  /**
-   * {@inheritdoc}
-   */
-  public $schemaTags = [
-    'schema_review.@type' => 'SchemaReviewType',
-    'schema_review.name' => 'SchemaNameBase',
-    'schema_review.itemReviewed' => 'SchemaThingBase',
-    'schema_review.reviewBody' => 'SchemaNameBase',
-    'schema_review.author' => 'SchemaPersonOrgBase',
-    'schema_review.datePublished' => 'SchemaDateBase',
-    'schema_review.reviewRating' => 'SchemaRatingBase',
-  ];
-
-}
diff --git a/schema_service/schema_service.info b/schema_service/schema_service.info
index c3acee9..29938af 100644
--- a/schema_service/schema_service.info
+++ b/schema_service/schema_service.info
@@ -5,4 +5,4 @@ core = 7.x
 dependencies[] = schema_metatag
 
 files[] = src/SchemaServiceType.php
-files[] = tests/SchemaMetatagServiceTest.test
+files[] = tests/SchemaServiceTest.test
diff --git a/schema_service/schema_service.metatag.inc b/schema_service/schema_service.metatag.inc
index f88516d..1bd9575 100644
--- a/schema_service/schema_service.metatag.inc
+++ b/schema_service/schema_service.metatag.inc
@@ -21,7 +21,7 @@ function schema_service_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_service',
     'form' => array(
       '#type' => 'textfield',
@@ -48,7 +48,7 @@ function schema_service_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_service.image'] = array(
-    'class' => 'SchemaImageBase',
+    'class' => 'SchemaMetatagImageBase',
     'label' => t('image'),
     'description' => t('The primary image for this item.'),
     'image' => TRUE,
@@ -58,7 +58,7 @@ function schema_service_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_service.offers'] = array(
-    'class' => 'SchemaOfferBase',
+    'class' => 'SchemaMetatagOfferBase',
     'label' => t('offers'),
     'description' => t('Offers associated with the service.'),
     'multiple' => TRUE,
@@ -66,7 +66,7 @@ function schema_service_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_service.aggregateRating'] = array(
-    'class' => 'SchemaRatingBase',
+    'class' => 'SchemaMetatagRatingBase',
     'label' => t('aggregateRating'),
     'description' => '',
     'multiple' => TRUE,
@@ -74,7 +74,7 @@ function schema_service_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_service.review'] = array(
-    'class' => 'SchemaReviewBase',
+    'class' => 'SchemaMetatagReviewBase',
     'label' => t('review'),
     'description' => '',
     'multiple' => TRUE,
diff --git a/schema_service/src/SchemaServiceType.php b/schema_service/src/SchemaServiceType.php
index e3d45d6..711463e 100644
--- a/schema_service/src/SchemaServiceType.php
+++ b/schema_service/src/SchemaServiceType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaServiceType extends SchemaTypeBase {
+class SchemaServiceType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_service/tests/SchemaMetatagServiceTest.test b/schema_service/tests/SchemaMetatagServiceTest.test
deleted file mode 100644
index 8a7e2f0..0000000
--- a/schema_service/tests/SchemaMetatagServiceTest.test
+++ /dev/null
@@ -1,53 +0,0 @@
-<?php
-
-/**
- * Tests that each of the Metatag schema_service tags work correctly.
- */
-class SchemaMetatagServiceTest extends SchemaMetatagTagsTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getInfo() {
-    return array(
-      'name' => 'Schema Metatag: Service',
-      'description' => 'Test the schema_service meta tags.',
-      'group' => 'Schema Metatag',
-      'dependencies' => [
-        'ctools',
-        'token',
-        'metatag',
-        'schema_metatag',
-        'schema_service',
-      ],
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setUp(array $modules = array()) {
-    $modules[] = 'schema_service';
-    parent::setUp($modules);
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public $moduleName = 'schema_service';
-
-  /**
-   * {@inheritdoc}
-   */
-  public $schemaTags = [
-    'schema_service.@type' => 'SchemaServiceType',
-    'schema_service.name' => 'SchemaNameBase',
-    'schema_service.description' => 'SchemaNameBase',
-    'schema_service.image' => 'SchemaImageBase',
-    'schema_service.offers' => 'SchemaOfferBase',
-    'schema_service.aggregateRating' => 'SchemaRatingBase',
-    'schema_service.review' => 'SchemaReviewBase',
-  ];
-
-}
diff --git a/schema_special_announcement/schema_special_announcement.info b/schema_special_announcement/schema_special_announcement.info
index 86136ad..a0d010d 100644
--- a/schema_special_announcement/schema_special_announcement.info
+++ b/schema_special_announcement/schema_special_announcement.info
@@ -5,4 +5,4 @@ core = 7.x
 dependencies[] = schema_metatag
 
 files[] = src/SchemaSpecialAnnouncementType.php
-files[] = tests/SchemaMetatagSpecialAnnouncementTest.test
+files[] = tests/SchemaSpecialAnnouncementTest.test
diff --git a/schema_special_announcement/schema_special_announcement.metatag.inc b/schema_special_announcement/schema_special_announcement.metatag.inc
index 9ef3c68..a707781 100644
--- a/schema_special_announcement/schema_special_announcement.metatag.inc
+++ b/schema_special_announcement/schema_special_announcement.metatag.inc
@@ -21,7 +21,7 @@ function schema_special_announcement_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_special_announcement',
     'form' => array(
       '#type' => 'textfield',
@@ -48,14 +48,14 @@ function schema_special_announcement_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_special_announcement.datePosted'] = array(
-    'class' => 'SchemaDateBase',
+    'class' => 'SchemaMetatagDateBase',
     'label' => t('datePosted'),
     'description' => t('The date that the COVID-19 announcement was published in ISO-8601 format.'),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_special_announcement.expires'] = array(
-    'class' => 'SchemaDateBase',
+    'class' => 'SchemaMetatagDateBase',
     'label' => t('expires'),
     'description' => t("The date in which the content expires and is no longer useful or available in ISO-8601 format. Don't include this property if you don't know when the content will expire."),
     'weight' => ++$weight,
@@ -116,7 +116,7 @@ function schema_special_announcement_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_special_announcement.governmentBenefitsInfo'] = array(
-    'class' => 'SchemaGovernmentServiceBase',
+    'class' => 'SchemaMetatagGovernmentServiceBase',
     'label' => t('governmentBenefitsInfo'),
     'description' => t("Information about new government benefits in the context of COVID-19, if applicable to the announcement."),
     'multiple' => TRUE,
@@ -124,14 +124,14 @@ function schema_special_announcement_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_special_announcement.announcementLocation'] = array(
-    'class' => 'SchemaPlaceBase',
+    'class' => 'SchemaMetatagPlaceBase',
     'label' => t('announcementLocation'),
     'description' => t("The specific location that is associated with the SpecialAnnouncement. For example, a specific testing facility or business with special opening hours. For a larger geographic region, like a quarantine of an entire region, we recommend that you use spatialCoverage."),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_special_announcement.spatialCoverage'] = array(
-    'class' => 'SchemaPlaceBase',
+    'class' => 'SchemaMetatagPlaceBase',
     'label' => t('spatialCoverage'),
     'description' => t("The geographic region that is the focus of the special announcement, if applicable. For example, the announcement may be about a shelter-in-place that affects multiple regions. If the announcement affects both a region and a specific location (for example, a library closure that serves an entire region), use both spatialCoverage and announcementLocation."),
     'multiple' => TRUE,
diff --git a/schema_special_announcement/src/SchemaSpecialAnnouncementType.php b/schema_special_announcement/src/SchemaSpecialAnnouncementType.php
index c4a7b5d..17f897f 100644
--- a/schema_special_announcement/src/SchemaSpecialAnnouncementType.php
+++ b/schema_special_announcement/src/SchemaSpecialAnnouncementType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaSpecialAnnouncementType extends SchemaTypeBase {
+class SchemaSpecialAnnouncementType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_special_announcement/tests/SchemaMetatagSpecialAnnouncementTest.test b/schema_special_announcement/tests/SchemaMetatagSpecialAnnouncementTest.test
deleted file mode 100644
index 0f01acc..0000000
--- a/schema_special_announcement/tests/SchemaMetatagSpecialAnnouncementTest.test
+++ /dev/null
@@ -1,63 +0,0 @@
-<?php
-
-/**
- * Tests that each of the Metatag schema_service tags work correctly.
- */
-class SchemaMetatagSpecialAnnouncementTest extends SchemaMetatagTagsTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getInfo() {
-    return array(
-      'name' => 'Schema Metatag: Special Announcement',
-      'description' => 'Test the schema_special_announcement meta tags.',
-      'group' => 'Schema Metatag',
-      'dependencies' => [
-        'ctools',
-        'token',
-        'metatag',
-        'schema_metatag',
-        'schema_special_announcement',
-      ],
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setUp(array $modules = array()) {
-    $modules[] = 'schema_special_announcement';
-    parent::setUp($modules);
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public $moduleName = 'schema_special_announcement';
-
-  /**
-   * {@inheritdoc}
-   */
-  public $schemaTags = [
-    'schema_special_announcement.@type' => 'SchemaSpecialAnnouncementType',
-    'schema_special_announcement.name' => 'SchemaNameBase',
-    'schema_special_announcement.category' => 'SchemaNameBase',
-    'schema_special_announcement.datePosted' => 'SchemaDateBase',
-    'schema_special_announcement.expires' => 'SchemaDateBase',
-    'schema_special_announcement.text' => 'SchemaNameBase',
-    'schema_special_announcement.diseasePreventionInfo' => 'SchemaNameBase',
-    'schema_special_announcement.diseaseSpreadStatistics' => 'SchemaNameBase',
-    'schema_special_announcement.gettingTestedInfo' => 'SchemaNameBase',
-    'schema_special_announcement.governmentBenefitsInfo' => 'SchemaGovernmentServiceBase',
-    'schema_special_announcement.newsUpdatesAndGuidelines' => 'SchemaNameBase',
-    'schema_special_announcement.publicTransportClosuresInfo' => 'SchemaNameBase',
-    'schema_special_announcement.quarantineGuidelines' => 'SchemaNameBase',
-    'schema_special_announcement.travelBans' => 'SchemaNameBase',
-    'schema_special_announcement.schoolClosuresInfo' => 'SchemaNameBase',
-    'schema_special_announcement.announcementLocation' => 'SchemaPlaceBase',
-    'schema_special_announcement.spatialCoverage' => 'SchemaPlaceBase',
-  ];
-
-}
diff --git a/schema_video_object/schema_video_object.info b/schema_video_object/schema_video_object.info
index bc4e818..9e3151d 100644
--- a/schema_video_object/schema_video_object.info
+++ b/schema_video_object/schema_video_object.info
@@ -5,4 +5,4 @@ core = 7.x
 dependencies[] = schema_metatag
 
 files[] = src/SchemaVideoObjectType.php
-files[] = tests/SchemaMetatagVideoObjectTest.test
+files[] = tests/SchemaVideoObjectTest.test
diff --git a/schema_video_object/schema_video_object.metatag.inc b/schema_video_object/schema_video_object.metatag.inc
index 001328e..6099b40 100644
--- a/schema_video_object/schema_video_object.metatag.inc
+++ b/schema_video_object/schema_video_object.metatag.inc
@@ -11,7 +11,11 @@
 function schema_video_object_metatag_info() {
   $info['groups']['schema_video_object'] = array(
     'label' => t('Schema.org: VideoObject'),
-    'description' => t('See Schema.org definitions for this Schema type at <a href="!url">!url</a>, Google\'s recommendations at <a href="!google_url">!google_url</a>.', ['!url' => 'http://schema.org/VideoObject', '!google_url' => 'https://developers.google.com/search/docs/data-types/video']),
+    'description' => t('See Schema.org definitions for this Schema type at <a href="!url">!url</a>, Google\'s recommendations at <a href="!google_url">!google_url</a>.',
+    [
+      '!url' => 'http://schema.org/VideoObject',
+      '!google_url' => 'https://developers.google.com/search/docs/data-types/video',
+    ]),
     'form' => array(
       '#weight' => 10,
     ),
@@ -21,7 +25,7 @@ function schema_video_object_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_video_object',
     'form' => array(
       '#type' => 'textfield',
@@ -54,21 +58,21 @@ function schema_video_object_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_video_object.uploadDate'] = array(
-    'class' => 'SchemaDateBase',
+    'class' => 'SchemaMetatagDateBase',
     'label' => t('uploadDate'),
     'description' => t('REQUIRED BY GOOGLE. The date the video was first published, in ISO 8601 format.'),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_video_object.expires'] = array(
-    'class' => 'SchemaDateBase',
+    'class' => 'SchemaMetatagDateBase',
     'label' => t('expires'),
     'description' => t("RECOMMENDED BY GOOGLE. If applicable, the date after which the video will no longer be available, in ISO 8601 format. Don't supply this information if your video does not expire."),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_video_object.thumbnailUrl'] = array(
-    'class' => 'SchemaImageBase',
+    'class' => 'SchemaMetatagImageBase',
     'label' => t('thumbnailUrl'),
     'description' => t('REQUIRED BY GOOGLE. The thumbnail URL of the video.'),
     'image' => TRUE,
@@ -77,7 +81,7 @@ function schema_video_object_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_video_object.contentUrl'] = array(
-    'class' => 'SchemaUrlBase',
+    'class' => 'SchemaMetatagUrlBase',
     'label' => t('contentUrl'),
     'description' => t('RECOMMENDED BY GOOGLE. A URL pointing to the actual video media file.'),
     'image' => TRUE,
@@ -86,7 +90,7 @@ function schema_video_object_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_video_object.embedUrl'] = array(
-    'class' => 'SchemaUrlBase',
+    'class' => 'SchemaMetatagUrlBase',
     'label' => t('embedUrl'),
     'description' => t('RECOMMENDED BY GOOGLE. A URL pointing to a player for the specific video. Usually this is the information in the src element of an <embed> tag.'),
     'image' => TRUE,
@@ -95,7 +99,7 @@ function schema_video_object_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_video_object.duration'] = array(
-    'class' => 'SchemaDurationBase',
+    'class' => 'SchemaMetatagDurationBase',
     'label' => t('duration'),
     'description' => t('RECOMMENDED BY GOOGLE. The video duration in seconds or ISO 8601 format.'),
     'weight' => ++$weight,
@@ -114,7 +118,7 @@ function schema_video_object_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_video_object.aggregateRating'] = array(
-    'class' => 'SchemaRatingBase',
+    'class' => 'SchemaMetatagRatingBase',
     'label' => t('aggregateRating'),
     'description' => '',
     'multiple' => TRUE,
@@ -122,7 +126,7 @@ function schema_video_object_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_video_object.review'] = array(
-    'class' => 'SchemaReviewBase',
+    'class' => 'SchemaMetatagReviewBase',
     'label' => t('review'),
     'description' => '',
     'multiple' => TRUE,
diff --git a/schema_video_object/src/SchemaVideoObjectType.php b/schema_video_object/src/SchemaVideoObjectType.php
index da8344a..2286992 100644
--- a/schema_video_object/src/SchemaVideoObjectType.php
+++ b/schema_video_object/src/SchemaVideoObjectType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaVideoObjectType extends SchemaTypeBase {
+class SchemaVideoObjectType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_video_object/tests/SchemaMetatagVideoObjectTest.test b/schema_video_object/tests/SchemaMetatagVideoObjectTest.test
deleted file mode 100644
index 2938f0e..0000000
--- a/schema_video_object/tests/SchemaMetatagVideoObjectTest.test
+++ /dev/null
@@ -1,60 +0,0 @@
-<?php
-
-/**
- * Tests that each of the Metatag schema_video_object tags work correctly.
- */
-class SchemaMetatagVideoObjectTest extends SchemaMetatagTagsTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getInfo() {
-    return array(
-      'name' => 'Schema Metatag: VideoObject',
-      'description' => 'Test the schema_video_object meta tags.',
-      'group' => 'Schema Metatag',
-      'dependencies' => [
-        'ctools',
-        'token',
-        'metatag',
-        'schema_metatag',
-        'schema_video_object',
-      ],
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setUp(array $modules = array()) {
-    $modules[] = 'schema_video_object';
-    parent::setUp($modules);
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public $moduleName = 'schema_video_object';
-
-  /**
-   * {@inheritdoc}
-   */
-  public $schemaTags = [
-    'schema_video_object.@type' => 'SchemaVideoObjectType',
-    'schema_video_object.@id' => 'SchemaNameBase',
-    'schema_video_object.name' => 'SchemaNameBase',
-    'schema_video_object.description' => 'SchemaNameBase',
-    'schema_video_object.uploadDate' => 'SchemaDateBase',
-    'schema_video_object.expires' => 'SchemaDateBase',
-    'schema_video_object.thumbnailUrl' => 'SchemaImageBase',
-    'schema_video_object.contentUrl' => 'SchemaUrlBase',
-    'schema_video_object.embedUrl' => 'SchemaUrlBase',
-    'schema_video_object.duration' => 'SchemaDurationBase',
-    'schema_video_object.interactionCount' => 'SchemaNameBase',
-    'schema_video_object.transcript' => 'SchemaNameBase',
-    'schema_video_object.aggregateRating' => 'SchemaRatingBase',
-    'schema_video_object.review' => 'SchemaReviewBase',
-  ];
-
-}
diff --git a/schema_web_page/schema_web_page.info b/schema_web_page/schema_web_page.info
index 087defd..783ef69 100644
--- a/schema_web_page/schema_web_page.info
+++ b/schema_web_page/schema_web_page.info
@@ -5,4 +5,4 @@ core = 7.x
 dependencies[] = schema_metatag
 
 files[] = src/SchemaWebPageType.php
-files[] = tests/SchemaMetatagWebPageTest.test
+files[] = tests/SchemaWebPageTest.test
diff --git a/schema_web_page/schema_web_page.metatag.inc b/schema_web_page/schema_web_page.metatag.inc
index 6b33156..eb43bd4 100644
--- a/schema_web_page/schema_web_page.metatag.inc
+++ b/schema_web_page/schema_web_page.metatag.inc
@@ -21,7 +21,7 @@ function schema_web_page_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_web_page',
     'form' => array(
       '#type' => 'textfield',
@@ -54,7 +54,7 @@ function schema_web_page_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_web_page.author'] = array(
-    'class' => 'SchemaPersonOrgBase',
+    'class' => 'SchemaMetatagPersonOrgBase',
     'label' => t('author'),
     'description' => 'The author of the web page.',
     'multiple' => TRUE,
@@ -62,21 +62,21 @@ function schema_web_page_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_web_page.publisher'] = array(
-    'class' => 'SchemaPersonOrgBase',
+    'class' => 'SchemaMetatagPersonOrgBase',
     'label' => t('publisher'),
     'description' => 'The publisher of the web page.',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_web_page.breadcrumb'] = array(
-    'class' => 'SchemaItemListElementBreadcrumbBase',
+    'class' => 'SchemaMetatagItemListElementBreadcrumbBase',
     'label' => t('breadcrumb'),
     'description' => t('The breadcrumb of the web page.'),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_web_page.url'] = array(
-    'class' => 'SchemaUrlBase',
+    'class' => 'SchemaMetatagUrlBase',
     'label' => t('url'),
     'description' => t('The url of the web page.'),
     'url' => TRUE,
@@ -84,7 +84,7 @@ function schema_web_page_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_web_page.hasPart'] = array(
-    'class' => 'SchemaHasPartBase',
+    'class' => 'SchemaMetatagHasPartBase',
     'label' => t('hasPart'),
     'description' => t('RECOMMENDED BY GOOGLE. Use for <a href="!url">Paywalled content</a>', ['!url' => 'https://developers.google.com/search/docs/data-types/paywalled-content']),
     'multiple' => TRUE,
@@ -92,14 +92,14 @@ function schema_web_page_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_web_page.isAccessibleForFree'] = array(
-    'class' => 'SchemaIsAccessibleForFreeBase',
+    'class' => 'SchemaMetatagIsAccessibleForFreeBase',
     'label' => t('isAccessibleForFree'),
     'description' => t('RECOMMENDED BY GOOGLE. Use for <a href="!url">Paywalled content</a>', ['!url' => 'https://developers.google.com/search/docs/data-types/paywalled-content']),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_web_page.speakable'] = array(
-    'class' => 'SchemaSpeakableBase',
+    'class' => 'SchemaMetatagSpeakableBase',
     'label' => t('speakable'),
     'description' => t('Speakable property.'),
     'weight' => ++$weight,
@@ -112,14 +112,14 @@ function schema_web_page_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_web_page.translationOfWork'] = array(
-    'class' => 'SchemaIdReferenceBase',
+    'class' => 'SchemaMetatagIdReferenceBase',
     'label' => t('translationOfWork'),
     'description' => t('The website id that this is a direct translation of.'),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_web_page.workTranslation'] = array(
-    'class' => 'SchemaIdReferenceBase',
+    'class' => 'SchemaMetatagIdReferenceBase',
     'label' => t('workTranslation'),
     'description' => t('Translation(s) of this work'),
     'multiple' => TRUE,
diff --git a/schema_web_page/src/SchemaWebPageType.php b/schema_web_page/src/SchemaWebPageType.php
index 41eb5d4..02e2d14 100644
--- a/schema_web_page/src/SchemaWebPageType.php
+++ b/schema_web_page/src/SchemaWebPageType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaWebPageType extends SchemaTypeBase {
+class SchemaWebPageType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_web_page/tests/SchemaMetatagWebPageTest.test b/schema_web_page/tests/SchemaMetatagWebPageTest.test
deleted file mode 100644
index e00686a..0000000
--- a/schema_web_page/tests/SchemaMetatagWebPageTest.test
+++ /dev/null
@@ -1,59 +0,0 @@
-<?php
-
-/**
- * Tests that each of the Metatag schema_web_page tags work correctly.
- */
-class SchemaMetatagWebPageTest extends SchemaMetatagTagsTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getInfo() {
-    return array(
-      'name' => 'Schema Metatag: WebPage',
-      'description' => 'Test the schema_web_page meta tags.',
-      'group' => 'Schema Metatag',
-      'dependencies' => [
-        'ctools',
-        'token',
-        'metatag',
-        'schema_metatag',
-        'schema_web_page',
-      ],
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setUp(array $modules = array()) {
-    $modules[] = 'schema_web_page';
-    parent::setUp($modules);
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public $moduleName = 'schema_web_page';
-
-  /**
-   * {@inheritdoc}
-   */
-  public $schemaTags = [
-    'schema_web_page.@type' => 'SchemaWebPageType',
-    'schema_web_page.@id' => 'SchemaNameBase',
-    'schema_web_page.name' => 'SchemaNameBase',
-    'schema_web_page.description' => 'SchemaNameBase',
-    'schema_web_page.author' => 'SchemaPersonOrgBase',
-    'schema_web_page.publisher' => 'SchemaPersonOrgBase',
-    'schema_web_page.url' => 'SchemaUrlBase',
-    'schema_web_page.hasPart' => 'SchemaHasPartBase',
-    'schema_web_page.isAccessibleForFree' => 'SchemaIsAccessibleForFreeBase',
-    'schema_web_page.speakable' => 'SchemaSpeakableBase',
-    'schema_web_page.inLanguage' => 'SchemaNameBase',
-    'schema_web_page.translationOfWork' => 'SchemaIdReferenceBase',
-    'schema_web_page.workTranslation' => 'SchemaIdReferenceBase',
-  ];
-
-}
diff --git a/schema_web_site/schema_web_site.info b/schema_web_site/schema_web_site.info
index a5159de..5a3f878 100644
--- a/schema_web_site/schema_web_site.info
+++ b/schema_web_site/schema_web_site.info
@@ -6,4 +6,4 @@ dependencies[] = schema_metatag
 
 files[] = src/SchemaWebSiteType.php
 files[] = src/SchemaWebSitePotentialAction.php
-files[] = tests/SchemaMetatagWebSiteTest.test
+files[] = tests/SchemaWebSiteTest.test
diff --git a/schema_web_site/schema_web_site.metatag.inc b/schema_web_site/schema_web_site.metatag.inc
index 9d076fd..97ca422 100644
--- a/schema_web_site/schema_web_site.metatag.inc
+++ b/schema_web_site/schema_web_site.metatag.inc
@@ -21,7 +21,7 @@ function schema_web_site_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'schema_web_site',
     'form' => array(
       '#type' => 'textfield',
@@ -48,7 +48,7 @@ function schema_web_site_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_web_site.url'] = array(
-    'class' => 'SchemaUrlBase',
+    'class' => 'SchemaMetatagUrlBase',
     'label' => t('url'),
     'description' => t('The url of the web site.'),
     'url' => TRUE,
@@ -56,7 +56,7 @@ function schema_web_site_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_web_site.sameAs'] = array(
-    'class' => 'SchemaUrlBase',
+    'class' => 'SchemaMetatagUrlBase',
     'label' => t('sameAs'),
     'description' => t('Url linked to the web site, such as wikipedia page or social profiles.'),
     'multiple' => TRUE,
@@ -65,7 +65,7 @@ function schema_web_site_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_web_site.publisher'] = array(
-    'class' => 'SchemaPersonOrgBase',
+    'class' => 'SchemaMetatagPersonOrgBase',
     'label' => t('publisher'),
     'description' => t('The publisher of the web site.'),
     'multiple' => TRUE,
@@ -87,14 +87,14 @@ function schema_web_site_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_web_site.translationOfWork'] = array(
-    'class' => 'SchemaIdReferenceBase',
+    'class' => 'SchemaMetatagIdReferenceBase',
     'label' => t('translationOfWork'),
     'description' => t('The website id that this is a direct translation of.'),
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_web_site.workTranslation'] = array(
-    'class' => 'SchemaIdReferenceBase',
+    'class' => 'SchemaMetatagIdReferenceBase',
     'label' => t('workTranslation'),
     'description' => t('Translation(s) of this work'),
     'multiple' => TRUE,
diff --git a/schema_web_site/src/SchemaWebSitePotentialAction.php b/schema_web_site/src/SchemaWebSitePotentialAction.php
index 17a9436..2b6c11d 100644
--- a/schema_web_site/src/SchemaWebSitePotentialAction.php
+++ b/schema_web_site/src/SchemaWebSitePotentialAction.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the 'schema_web_site_potential_action' meta tag.
  */
-class SchemaWebSitePotentialAction extends SchemaActionBase {
+class SchemaWebSitePotentialAction extends SchemaMetatagActionBase {
 
   /**
    * Generate a form element for this meta tag.
diff --git a/schema_web_site/src/SchemaWebSiteType.php b/schema_web_site/src/SchemaWebSiteType.php
index 6335192..dac5758 100644
--- a/schema_web_site/src/SchemaWebSiteType.php
+++ b/schema_web_site/src/SchemaWebSiteType.php
@@ -3,7 +3,7 @@
 /**
  * Provides a plugin for the '@type' meta tag.
  */
-class SchemaWebSiteType extends SchemaTypeBase {
+class SchemaWebSiteType extends SchemaMetatagTypeBase {
 
   /**
    * {@inheritdoc}
diff --git a/schema_web_site/tests/SchemaMetatagWebSiteTest.test b/schema_web_site/tests/SchemaMetatagWebSiteTest.test
deleted file mode 100644
index d5ef949..0000000
--- a/schema_web_site/tests/SchemaMetatagWebSiteTest.test
+++ /dev/null
@@ -1,55 +0,0 @@
-<?php
-
-/**
- * Tests that each of the Metatag schema_web_site tags work correctly.
- */
-class SchemaMetatagWebSiteTest extends SchemaMetatagTagsTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getInfo() {
-    return array(
-      'name' => 'Schema Metatag: WebSite',
-      'description' => 'Test the schema_web_site meta tags.',
-      'group' => 'Schema Metatag',
-      'dependencies' => [
-        'ctools',
-        'token',
-        'metatag',
-        'schema_metatag',
-        'schema_web_site',
-      ],
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setUp(array $modules = array()) {
-    $modules[] = 'schema_web_site';
-    parent::setUp($modules);
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public $moduleName = 'schema_web_site';
-
-  /**
-   * {@inheritdoc}
-   */
-  public $schemaTags = [
-    'schema_web_site.@type' => 'SchemaWebSiteType',
-    'schema_web_site.@id' => 'SchemaNameBase',
-    'schema_web_site.name' => 'SchemaNameBase',
-    'schema_web_site.url' => 'SchemaUrlBase',
-    'schema_web_site.sameAs' => 'SchemaUrlBase',
-    'schema_web_site.publisher' => 'SchemaPersonOrgBase',
-    'schema_web_site.inLanguage' => 'SchemaNameBase',
-    'schema_web_site.translationOfWork' => 'SchemaIdReferenceBase',
-    'schema_web_site.workTranslation' => 'SchemaIdReferenceBase',
-  ];
-
-}
diff --git a/src/SchemaActionBase.php b/src/SchemaActionBase.php
deleted file mode 100644
index ce49759..0000000
--- a/src/SchemaActionBase.php
+++ /dev/null
@@ -1,99 +0,0 @@
-<?php
-
-/**
- * Schema.org Action items should extend this class.
- */
-class SchemaActionBase extends SchemaNameBase {
-
-  use SchemaActionTrait;
-
-  /**
-   * Allowed actions.
-   *
-   * @var array
-   */
-  protected $actions;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function __construct(array $info, array $data = NULL) {
-    parent::__construct($info, $data);
-    $this->actions = [];
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-      'actions' => $this->actions,
-    ];
-
-    $form['value'] = $this->actionForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      'target',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-
-        case '@type':
-          $items[$key] = 'Action';
-          break;
-
-        case 'target':
-          $items[$key] = SchemaEntryPointBase::testValue();
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(1, '');
-          break;
-
-      }
-    }
-    return $items;
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function processedTestValue($items) {
-    foreach ($items as $key => $value) {
-      switch ($key) {
-        case 'target':
-          $items[$key] = SchemaEntryPointBase::processedTestValue($items[$key]);
-          break;
-
-      }
-    }
-    return $items;
-
-  }
-
-}
diff --git a/src/SchemaActionTrait.php b/src/SchemaActionTrait.php
index fcc63a3..e849c24 100644
--- a/src/SchemaActionTrait.php
+++ b/src/SchemaActionTrait.php
@@ -58,7 +58,10 @@ trait SchemaActionTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->SchemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
@@ -431,12 +434,12 @@ trait SchemaActionTrait {
       case 'TransferAction':
         return [
           'fromLocation' => [
-            'class' => 'SchemaPlaceBase',
+            'class' => 'SchemaMetatagPlaceBase',
             'form' => 'placeForm',
             'description' => "A sub property of location. The original location of the object or the agent before the action.",
           ],
           'toLocation' => [
-            'class' => 'SchemaPlaceBase',
+            'class' => 'SchemaMetatagPlaceBase',
             'form' => 'placeForm',
             'description' => "A sub property of location. The final location of the object or the agent after the action.",
           ],
@@ -445,7 +448,7 @@ trait SchemaActionTrait {
       case 'TradeAction':
         return [
           'target' => [
-            'class' => 'SchemaEntryPointBase',
+            'class' => 'SchemaMetatagEntryPointBase',
             'form' => 'entryPointForm',
             'description' => "Indicates a target EntryPoint for an Action.",
           ],
@@ -454,12 +457,12 @@ trait SchemaActionTrait {
       case 'ConsumeAction':
         return [
           'target' => [
-            'class' => 'SchemaEntryPointBase',
+            'class' => 'SchemaMetatagEntryPointBase',
             'form' => 'entryPointForm',
             'description' => "Indicates a target EntryPoint for an Action.",
           ],
           'expectsAcceptanceOf' => [
-            'class' => 'SchemaOfferBase',
+            'class' => 'SchemaMetatagOfferBase',
             'form' => 'offerForm',
             'description' => "An Offer which must be accepted before the user can perform the Action. For example, the user may need to buy a movie before being able to watch it.",
           ],
@@ -468,12 +471,12 @@ trait SchemaActionTrait {
       case 'OrganizeAction':
         return [
           'target' => [
-            'class' => 'SchemaEntryPointBase',
+            'class' => 'SchemaMetatagEntryPointBase',
             'form' => 'entryPointForm',
             'description' => "Indicates a target EntryPoint for an Action.",
           ],
           'result' => [
-            'class' => 'SchemaThingBase',
+            'class' => 'SchemaMetatagThingBase',
             'form' => 'thingForm',
             'description' => "The result produced in the action. e.g. John wrote a book.",
           ],
@@ -483,7 +486,7 @@ trait SchemaActionTrait {
       case 'PlayAction':
         return [
           'event' => [
-            'class' => 'SchemaEventBase',
+            'class' => 'SchemaMetatagEventBase',
             'form' => 'eventForm',
             'description' => "Upcoming or past event associated with this place, organization, or action.",
           ],
@@ -492,17 +495,17 @@ trait SchemaActionTrait {
       case 'SearchAction':
         return [
           'query' => [
-            'class' => 'SchemaNameBase',
+            'class' => 'SchemaMetatagNameBase',
             'form' => '',
             'description' => "The query used on this action, i.e. https://query.example.com/search?q={search_term_string}.",
           ],
           'query-input' => [
-            'class' => 'SchemaNameBase',
+            'class' => 'SchemaMetatagNameBase',
             'form' => '',
             'description' => "The placeholder for the query, i.e. required name=search_term_string.",
           ],
           'target' => [
-            'class' => 'SchemaEntryPointBase',
+            'class' => 'SchemaMetatagEntryPointBase',
             'form' => 'entryPointForm',
             'description' => "Indicates a target EntryPoint for an Action.",
           ],
@@ -511,7 +514,7 @@ trait SchemaActionTrait {
       case 'UpdateAction':
         return [
           'targetCollection' => [
-            'class' => 'SchemaThingBase',
+            'class' => 'SchemaMetatagThingBase',
             'form' => 'thingForm',
             'description' => "The collection target of the action.",
           ],
@@ -524,72 +527,72 @@ trait SchemaActionTrait {
       case 'Other':
         return [
           'price' => [
-            'class' => 'SchemaNameBase',
+            'class' => 'SchemaMetatagNameBase',
             'form' => '',
             'description' => "The offer price of a product, or of a price component.",
           ],
           'buyer' => [
-            'class' => 'SchemaPersonOrgBase',
+            'class' => 'SchemaMetatagPersonOrgBase',
             'form' => 'personOrgForm',
             'description' => "The participant/person/organization that bought the object.",
           ],
           'seller' => [
-            'class' => 'SchemaPersonOrgBase',
+            'class' => 'SchemaMetatagPersonOrgBase',
             'form' => 'personOrgForm',
             'description' => "An entity which offers (sells / leases / lends / loans) the services / goods. A seller may also be a provider.",
           ],
           'recipient' => [
-            'class' => 'SchemaPersonOrgBase',
+            'class' => 'SchemaMetatagPersonOrgBase',
             'form' => 'personOrgForm',
             'description' => "The participant who is at the receiving end of the action.",
           ],
           'target' => [
-            'class' => 'SchemaEntryPointBase',
+            'class' => 'SchemaMetatagEntryPointBase',
             'form' => 'entryPointForm',
             'description' => "Indicates a target EntryPoint for an Action.",
           ],
           'result' => [
-            'class' => 'SchemaThingBase',
+            'class' => 'SchemaMetatagThingBase',
             'form' => 'thingForm',
             'description' => "The result produced in the action. e.g. John wrote a book.",
           ],
           'agent' => [
-            'class' => 'SchemaPersonOrgBase',
+            'class' => 'SchemaMetatagPersonOrgBase',
             'form' => 'personOrgForm',
             'description' => "The direct performer or driver of the action (animate or inanimate). e.g. John wrote a book.",
           ],
           'instrument' => [
-            'class' => 'SchemaThingBase',
+            'class' => 'SchemaMetatagThingBase',
             'form' => 'thingForm',
             'description' => "The object that helped the agent perform the action. e.g. John wrote a book with a pen.",
           ],
           'participant' => [
-            'class' => 'SchemaPersonOrgBase',
+            'class' => 'SchemaMetatagPersonOrgBase',
             'form' => 'personOrgForm',
             'description' => "Other co-agents that participated in the action indirectly. e.g. John wrote a book with Steve.",
           ],
           'object' => [
-            'class' => 'SchemaThingBase',
+            'class' => 'SchemaMetatagThingBase',
             'form' => 'thingForm',
             'description' => "The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read a book.",
           ],
           'error' => [
-            'class' => 'SchemaThingBase',
+            'class' => 'SchemaMetatagThingBase',
             'form' => 'thingForm',
             'description' => "For failed actions, more information on the cause of the failure.",
           ],
           'location' => [
-            'class' => 'SchemaPlaceBase',
+            'class' => 'SchemaMetatagPlaceBase',
             'form' => 'placeForm',
             'description' => "The location of for example where the event is happening, an organization is located, or where an action takes place.",
           ],
           'startTime' => [
-            'class' => 'SchemaNameBase',
+            'class' => 'SchemaMetatagNameBase',
             'form' => '',
             'description' => "The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. e.g. John wrote a book from January to December.",
           ],
           'endTime' => [
-            'class' => 'SchemaNameBase',
+            'class' => 'SchemaMetatagNameBase',
             'form' => '',
             'description' => "The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. e.g. John wrote a book from January to December.",
           ],
diff --git a/src/SchemaAddressBase.php b/src/SchemaAddressBase.php
deleted file mode 100644
index fdc19c7..0000000
--- a/src/SchemaAddressBase.php
+++ /dev/null
@@ -1,64 +0,0 @@
-<?php
-
-/**
- * Schema.org PostalAddress items should extend this class.
- */
-class SchemaAddressBase extends SchemaNameBase {
-
-  use SchemaAddressTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->postalAddressForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      'streetAddress',
-      'addressLocality',
-      'addressRegion',
-      'postalCode',
-      'addressCountry',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case '@type':
-          $items[$key] = 'PostalAddress';
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(2, ' ');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaAddressTrait.php b/src/SchemaAddressTrait.php
index 435a2e7..04a98e0 100644
--- a/src/SchemaAddressTrait.php
+++ b/src/SchemaAddressTrait.php
@@ -28,7 +28,10 @@ trait SchemaAddressTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaAnswerBase.php b/src/SchemaAnswerBase.php
deleted file mode 100644
index 0c39075..0000000
--- a/src/SchemaAnswerBase.php
+++ /dev/null
@@ -1,84 +0,0 @@
-<?php
-
-/**
- * Schema.org Answer items should extend this class.
- */
-class SchemaAnswerBase extends SchemaNameBase {
-
-  use SchemaAnswerTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->answerForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      'text',
-      'url',
-      'upvoteCount',
-      'dateCreated',
-      'author',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case '@type':
-          $items[$key] = 'Answer';
-          break;
-
-        case 'author':
-          $items[$key] = SchemaPersonOrgBase::testValue();
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(1, '');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function processedTestValue($items) {
-    foreach ($items as $key => $value) {
-      switch ($key) {
-        case 'author':
-          $items[$key] = SchemaPersonOrgBase::processedTestValue($items[$key]);
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaAnswerTrait.php b/src/SchemaAnswerTrait.php
index 4f166ab..6a1816a 100644
--- a/src/SchemaAnswerTrait.php
+++ b/src/SchemaAnswerTrait.php
@@ -31,7 +31,10 @@ trait SchemaAnswerTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaBrandBase.php b/src/SchemaBrandBase.php
deleted file mode 100644
index 89ba809..0000000
--- a/src/SchemaBrandBase.php
+++ /dev/null
@@ -1,69 +0,0 @@
-<?php
-
-/**
- * Schema.org Brand items should extend this class.
- */
-class SchemaBrandBase extends SchemaNameBase {
-
-  use SchemaBrandTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->brandForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      '@id',
-      'name',
-      'description',
-      'url',
-      'sameAs',
-      'logo',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case 'logo':
-          $items[$key] = SchemaImageBase::testValue();
-          break;
-
-        case '@type':
-          $items[$key] = 'Brand';
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(2, ' ');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaBrandTrait.php b/src/SchemaBrandTrait.php
index 24a4e25..4880944 100644
--- a/src/SchemaBrandTrait.php
+++ b/src/SchemaBrandTrait.php
@@ -28,7 +28,10 @@ trait SchemaBrandTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaContactPointBase.php b/src/SchemaContactPointBase.php
deleted file mode 100644
index 97b8c24..0000000
--- a/src/SchemaContactPointBase.php
+++ /dev/null
@@ -1,73 +0,0 @@
-<?php
-
-/**
- * Schema.org Contact Point items should extend this class.
- */
-class SchemaContactPointBase extends SchemaNameBase {
-
-  use SchemaContactPointTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->contactPointForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      'areaServed',
-      'availableLanguage',
-      'contactType',
-      'contactOption',
-      'email',
-      'faxnumber',
-      'productSupported',
-      'telephone',
-      'url',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case '@type':
-          $items[$key] = 'ContactPoint';
-          break;
-
-        case 'areaServed':
-          $items[$key] = SchemaPlaceBase::testValue();
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(1, '');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaContactPointTrait.php b/src/SchemaContactPointTrait.php
index ac72128..1a45675 100644
--- a/src/SchemaContactPointTrait.php
+++ b/src/SchemaContactPointTrait.php
@@ -37,7 +37,10 @@ trait SchemaContactPointTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaCountryBase.php b/src/SchemaCountryBase.php
deleted file mode 100644
index b0d76e9..0000000
--- a/src/SchemaCountryBase.php
+++ /dev/null
@@ -1,79 +0,0 @@
-<?php
-
-/**
- * Schema.org Country items should extend this class.
- */
-class SchemaCountryBase extends SchemaNameBase {
-
-  use SchemaCountryTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->countryForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      'name',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case '@type':
-          $items[$key] = 'Country';
-          break;
-
-        case 'name':
-          $items[$key] = parent::testDefaultValue(3, ',');
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(1, '');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function processedTestValue($items) {
-    foreach ($items as $key => $value) {
-      switch ($key) {
-        case 'name':
-          $items[$key] = static::processTestExplodeValue($items[$key]);
-          break;
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaCountryTrait.php b/src/SchemaCountryTrait.php
index 06515f7..162caef 100644
--- a/src/SchemaCountryTrait.php
+++ b/src/SchemaCountryTrait.php
@@ -28,7 +28,10 @@ trait SchemaCountryTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaCreativeWorkBase.php b/src/SchemaCreativeWorkBase.php
deleted file mode 100644
index fc5211e..0000000
--- a/src/SchemaCreativeWorkBase.php
+++ /dev/null
@@ -1,95 +0,0 @@
-<?php
-
-/**
- * Schema.org CreativeWork items should extend this class.
- */
-class SchemaCreativeWorkBase extends SchemaNameBase {
-
-  use SchemaCreativeWorkTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->creativeWorkForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      '@id',
-      'name',
-      'url',
-      'sameAs',
-      'datePublished',
-      'author',
-      'potentialAction',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-
-        case '@type':
-          $items[$key] = 'Book';
-          break;
-
-        case 'author':
-          $items[$key] = SchemaPersonOrgBase::testValue();
-          break;
-
-        case 'potentialAction':
-          $items[$key] = SchemaActionBase::testValue();
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(1, '');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function processedTestValue($items) {
-    foreach ($items as $key => $value) {
-      switch ($key) {
-        case 'author':
-          $items[$key] = SchemaPersonOrgBase::processedTestValue($items[$key]);
-          break;
-
-        case 'potentialAction':
-          $items[$key] = SchemaActionBase::processedTestValue($items[$key]);
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaCreativeWorkTrait.php b/src/SchemaCreativeWorkTrait.php
index c8b2270..705fff6 100644
--- a/src/SchemaCreativeWorkTrait.php
+++ b/src/SchemaCreativeWorkTrait.php
@@ -40,7 +40,10 @@ trait SchemaCreativeWorkTrait {
 
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
@@ -104,7 +107,10 @@ trait SchemaCreativeWorkTrait {
       foreach ($properties as $key => $property) {
         $property_visibility = ['visible' => [$selector => ['value' => $type]]];
         $property_visibility2 = ['visible' => [$selector2 => ['value' => $type]]];
-        $property_visibility['visible'] = [$property_visibility['visible'], $property_visibility2['visible']];
+        $property_visibility['visible'] = [
+          $property_visibility['visible'],
+          $property_visibility2['visible'],
+        ];
 
         if (empty($property['form'])) {
           $form[$key] = [
@@ -183,27 +189,27 @@ trait SchemaCreativeWorkTrait {
       case 'Book':
         return [
           'isbn' => [
-            'class' => 'SchemaNameBase',
+            'class' => 'SchemaMetatagNameBase',
             'form' => '',
             'description' => "The ISBN of the book.",
           ],
           'bookEdition' => [
-            'class' => 'SchemaNameBase',
+            'class' => 'SchemaMetatagNameBase',
             'form' => '',
             'description' => "The edition of the book.",
           ],
           'bookFormat' => [
-            'class' => 'SchemaNameBase',
+            'class' => 'SchemaMetatagNameBase',
             'form' => '',
             'description' => "The format of the book (comma-separated), i.e. https://schema.org/Hardcover,https://schema.org/Paperback,https://schema.org/EBook",
           ],
           'author' => [
-            'class' => 'SchemaPersonOrgBase',
+            'class' => 'SchemaMetatagPersonOrgBase',
             'form' => 'personOrgForm',
             'description' => "The author of the work.",
           ],
           'potentialAction' => [
-            'class' => 'SchemaActionBase',
+            'class' => 'SchemaMetatagActionBase',
             'form' => 'actionForm',
             'description' => "Potential action for the work, like a ReadAction.",
             'actions' => ['Action', 'ConsumeAction', 'ReadAction'],
@@ -214,7 +220,7 @@ trait SchemaCreativeWorkTrait {
       case 'TVSeason':
         return [
           'seasonNumber' => [
-            'class' => 'SchemaNameBase',
+            'class' => 'SchemaMetatagNameBase',
             'form' => '',
             'description' => "The number of the season.",
           ],
@@ -223,27 +229,27 @@ trait SchemaCreativeWorkTrait {
       case 'All':
         return [
           '@id' => [
-            'class' => 'SchemaNameBase',
+            'class' => 'SchemaMetatagNameBase',
             'form' => '',
             'description' => "Globally unique @id of the thing, usually a url, used to to link other properties to this object.",
           ],
           'name' => [
-            'class' => 'SchemaNameBase',
+            'class' => 'SchemaMetatagNameBase',
             'form' => '',
             'description' => "The name of the work.",
           ],
           'url' => [
-            'class' => 'SchemaNameBase',
+            'class' => 'SchemaMetatagNameBase',
             'form' => '',
             'description' => "Absolute URL of the canonical Web page for the work.",
           ],
           'sameAs' => [
-            'class' => 'SchemaNameBase',
+            'class' => 'SchemaMetatagNameBase',
             'form' => '',
             'description' => "Urls and social media links, comma-separated list of absolute URLs.",
           ],
           'datePublished' => [
-            'class' => 'SchemaNameBase',
+            'class' => 'SchemaMetatagNameBase',
             'form' => '',
             'description' => "Publication date.",
           ],
diff --git a/src/SchemaDateBase.php b/src/SchemaDateBase.php
deleted file mode 100644
index 2daf42e..0000000
--- a/src/SchemaDateBase.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-/**
- * Provides a plugin for the 'schema_date_base' meta tag.
- */
-class SchemaDateBase extends SchemaNameBase {
-
-  /**
-   * Generate a form element for this meta tag.
-   */
-  public function getForm(array $options = []) {
-    $form = parent::getForm($options);
-    $form['value']['#description'] .= ' ' . $this->t('Use a token like [node:created:html_datetime].');
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    return parent::testDefaultValue(1, '');
-  }
-
-}
diff --git a/src/SchemaDurationBase.php b/src/SchemaDurationBase.php
deleted file mode 100644
index 74fcf7e..0000000
--- a/src/SchemaDurationBase.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-
-/**
- * Provides a plugin for the 'schema_duration_base' meta tag.
- */
-class SchemaDurationBase extends SchemaNameBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public function output() {
-    $element = parent::output();
-    if (!empty($element)) {
-      $input_value = $element['#attributes']['content'];
-      $element['#attributes']['content'] = self::outputValue($input_value);
-    }
-    return $element;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function outputValue($input_value) {
-    $is_integer = ctype_digit($input_value) || is_int($input_value);
-    if ($is_integer && $input_value > 0) {
-      return 'PT' . $input_value . 'S';
-    }
-    return $input_value;
-  }
-
-}
diff --git a/src/SchemaEntryPointBase.php b/src/SchemaEntryPointBase.php
deleted file mode 100644
index 7c8f3e4..0000000
--- a/src/SchemaEntryPointBase.php
+++ /dev/null
@@ -1,85 +0,0 @@
-<?php
-
-/**
- * Schema.org EntryPoint items should extend this class.
- */
-class SchemaEntryPointBase extends SchemaNameBase {
-
-  use SchemaEntryPointTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->entryPointForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      'urlTemplate',
-      'actionPlatform',
-      'inLanguage',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case '@type':
-          $items[$key] = 'EntryPoint';
-          break;
-
-        case 'urlTemplate':
-        case 'actionPlatform':
-        case 'inLanguage';
-          $items[$key] = parent::testDefaultValue(3, ',');
-
-        default:
-          $items[$key] = parent::testDefaultValue(1, '');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function processedTestValue($items) {
-    foreach ($items as $key => $value) {
-      switch ($key) {
-        case 'urlTemplate':
-        case 'actionPlatform':
-        case 'inLanguage';
-          $items[$key] = static::processTestExplodeValue($items[$key]);
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaEntryPointTrait.php b/src/SchemaEntryPointTrait.php
index 20225b2..e0a10c6 100644
--- a/src/SchemaEntryPointTrait.php
+++ b/src/SchemaEntryPointTrait.php
@@ -28,7 +28,10 @@ trait SchemaEntryPointTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaEventBase.php b/src/SchemaEventBase.php
deleted file mode 100644
index 183082f..0000000
--- a/src/SchemaEventBase.php
+++ /dev/null
@@ -1,84 +0,0 @@
-<?php
-
-/**
- * Schema.org Event items should extend this class.
- */
-class SchemaEventBase extends SchemaNameBase {
-
-  use SchemaEventTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->eventForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      '@id',
-      'name',
-      'url',
-      'startDate',
-      'location',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case '@type':
-          $items[$key] = 'PublicationEvent';
-          break;
-
-        case 'location':
-          $items[$key] = SchemaPlaceBase::testValue();
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(1, '');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function processedTestValue($items) {
-    foreach ($items as $key => $value) {
-      switch ($key) {
-        case 'location':
-          $items[$key] = SchemaPlaceBase::processedTestValue($items[$key]);
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaEventTrait.php b/src/SchemaEventTrait.php
index c097e0c..25919a8 100644
--- a/src/SchemaEventTrait.php
+++ b/src/SchemaEventTrait.php
@@ -31,7 +31,10 @@ trait SchemaEventTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaGeoBase.php b/src/SchemaGeoBase.php
deleted file mode 100644
index 26d2b2c..0000000
--- a/src/SchemaGeoBase.php
+++ /dev/null
@@ -1,62 +0,0 @@
-<?php
-
-/**
- * Schema.org Geo items should extend this class.
- */
-class SchemaGeoBase extends SchemaNameBase {
-
-  use SchemaGeoTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->geoForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      'latitude',
-      'longitude',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case '@type':
-          $items[$key] = 'GeoCoordinates';
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(1, '');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaGeoTrait.php b/src/SchemaGeoTrait.php
index 43aff34..52058e5 100644
--- a/src/SchemaGeoTrait.php
+++ b/src/SchemaGeoTrait.php
@@ -28,7 +28,10 @@ trait SchemaGeoTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaGovernmentServiceBase.php b/src/SchemaGovernmentServiceBase.php
deleted file mode 100644
index 128da3a..0000000
--- a/src/SchemaGovernmentServiceBase.php
+++ /dev/null
@@ -1,92 +0,0 @@
-<?php
-
-/**
- * Schema.org GovernmentService items should extend this class.
- */
-class SchemaGovernmentServiceBase extends SchemaNameBase {
-
-  use SchemaGovernmentServiceTrait;
-
-  /**
-   * The top level keys on this form.
-   */
-  public function formKeys() {
-    return ['pivot'] + self::governmentServiceFormKeys();
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->governmentServiceForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      'name',
-      'url',
-      'serviceType',
-      'provider',
-      'audience',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case 'provider':
-          $items[$key] = SchemaPersonOrgBase::testValue();
-          break;
-
-        case '@type':
-          $items[$key] = 'GovernmentService';
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(1, '');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function processedTestValue($items) {
-    foreach ($items as $key => $value) {
-      switch ($key) {
-        case 'provider':
-          $items[$key] = SchemaPersonOrgBase::processedTestValue($items[$key]);
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaGovernmentServiceTrait.php b/src/SchemaGovernmentServiceTrait.php
index 66db917..a0b2278 100644
--- a/src/SchemaGovernmentServiceTrait.php
+++ b/src/SchemaGovernmentServiceTrait.php
@@ -31,7 +31,10 @@ trait SchemaGovernmentServiceTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaHasPartBase.php b/src/SchemaHasPartBase.php
deleted file mode 100644
index 61c3111..0000000
--- a/src/SchemaHasPartBase.php
+++ /dev/null
@@ -1,86 +0,0 @@
-<?php
-
-/**
- * Provides a plugin for the 'hasPart' meta tag.
- *
- * Currently applies only to isAccessibleForFree.
- *
- * @see https://developers.google.com/search/docs/data-types/paywalled-content
- */
-class SchemaHasPartBase extends SchemaNameBase {
-
-  use SchemaHasPartTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->hasPartForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      '@id',
-      'name',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-
-        case '@type':
-          $items[$key] = 'WebPageElement';
-          break;
-
-        case 'potentialAction':
-          $items[$key] = SchemaActionBase::testValue();
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(1, '');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function processedTestValue($items) {
-    foreach ($items as $key => $value) {
-      switch ($key) {
-        case 'potentialAction':
-          $items[$key] = SchemaActionBase::processedTestValue($items[$key]);
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaHasPartTrait.php b/src/SchemaHasPartTrait.php
index 048f504..5b875cc 100644
--- a/src/SchemaHasPartTrait.php
+++ b/src/SchemaHasPartTrait.php
@@ -36,7 +36,10 @@ trait SchemaHasPartTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
@@ -100,7 +103,10 @@ trait SchemaHasPartTrait {
       foreach ($properties as $key => $property) {
         $property_visibility = ['visible' => [$selector => ['value' => $type]]];
         $property_visibility2 = ['visible' => [$selector2 => ['value' => $type]]];
-        $property_visibility['visible'] = [$property_visibility['visible'], $property_visibility2['visible']];
+        $property_visibility['visible'] = [
+          $property_visibility['visible'],
+          $property_visibility2['visible'],
+        ];
 
         if (empty($property['form'])) {
           $form[$key] = [
@@ -165,12 +171,12 @@ trait SchemaHasPartTrait {
       case 'WebPageElement':
         return [
           'isAccessibleForFree' => [
-            'class' => 'SchemaNameBase',
+            'class' => 'SchemaMetatagNameBase',
             'form' => '',
             'description' => "True or False, whether this element is accessible for free.",
           ],
           'cssSelector' => [
-            'class' => 'SchemaNameBase',
+            'class' => 'SchemaMetatagNameBase',
             'form' => '',
             'description' => "List of class names of the parts of the web page that are not free, i.e. '.first-class', '.second-class'. Do NOT surround class names with quotation marks!",
           ],
@@ -180,7 +186,7 @@ trait SchemaHasPartTrait {
       case 'TVClip':
         return [
           'description' => [
-            'class' => 'SchemaNameBase',
+            'class' => 'SchemaMetatagNameBase',
             'form' => '',
             'description' => "One of the following values:\n
 'trailer': A preview or advertisement of the work.\n
@@ -188,12 +194,12 @@ trait SchemaHasPartTrait {
 'highlight': A contiguous scene from the work.",
           ],
           'timeRequired' => [
-            'class' => 'SchemaNameBase',
+            'class' => 'SchemaMetatagNameBase',
             'form' => '',
             'description' => "Duration of the clip in ISO 8601 format, 'PT2M5S' (2min 5sec).",
           ],
           'potentialAction' => [
-            'class' => 'SchemaActionBase',
+            'class' => 'SchemaMetatagActionBase',
             'form' => 'actionForm',
             'description' => "Watch action(s) for the clip.",
             'actions' => ['Action', 'ConsumeAction', 'WatchAction'],
@@ -203,12 +209,12 @@ trait SchemaHasPartTrait {
       case 'All':
         return [
           '@id' => [
-            'class' => 'SchemaNameBase',
+            'class' => 'SchemaMetatagNameBase',
             'form' => '',
             'description' => "Globally unique @id of the thing, usually a url, used to to link other properties to this object.",
           ],
           'name' => [
-            'class' => 'SchemaNameBase',
+            'class' => 'SchemaMetatagNameBase',
             'form' => '',
             'description' => "The name of the work.",
           ],
diff --git a/src/SchemaHowToStepBase.php b/src/SchemaHowToStepBase.php
deleted file mode 100644
index 84046ad..0000000
--- a/src/SchemaHowToStepBase.php
+++ /dev/null
@@ -1,83 +0,0 @@
-<?php
-
-/**
- * Schema.org Step items should extend this class.
- */
-class SchemaHowToStepBase extends SchemaNameBase {
-
-  use SchemaHowToStepTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->howToStepForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      'name',
-      'text',
-      'url',
-      'image',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case '@type':
-          $items[$key] = 'HowToStep';
-          break;
-
-        case 'image':
-          $items[$key] = SchemaImageBase::testValue();
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(1, '');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function processedTestValue($items) {
-    foreach ($items as $key => $value) {
-      switch ($key) {
-        case 'image':
-          $items[$key] = SchemaImageBase::processedTestValue($items[$key]);
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaHowToStepTrait.php b/src/SchemaHowToStepTrait.php
index 1a4e758..79f66bb 100644
--- a/src/SchemaHowToStepTrait.php
+++ b/src/SchemaHowToStepTrait.php
@@ -31,7 +31,10 @@ trait SchemaHowToStepTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaIdReferenceBase.php b/src/SchemaIdReferenceBase.php
deleted file mode 100644
index 62b7e4a..0000000
--- a/src/SchemaIdReferenceBase.php
+++ /dev/null
@@ -1,72 +0,0 @@
-<?php
-
-/**
- * Schema.org tags using an id reference items should extend this class.
- */
-class SchemaIdReferenceBase extends SchemaNameBase {
-
-  use SchemaIdReferenceTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->idForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@id',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case 'pivot':
-          break;
-
-        case '@id':
-          $items[$key] = parent::testDefaultValue(3, ',');
-          break;
-      }
-    }
-    return $items;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function processedTestValue($items) {
-    foreach ($items as $key => $value) {
-      switch ($key) {
-        case '@id':
-          $items[$key] = static::processTestExplodeValue($items[$key]);
-          break;
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaIdReferenceTrait.php b/src/SchemaIdReferenceTrait.php
index 4020d25..70f8613 100644
--- a/src/SchemaIdReferenceTrait.php
+++ b/src/SchemaIdReferenceTrait.php
@@ -28,7 +28,10 @@ trait SchemaIdReferenceTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaImageBase.php b/src/SchemaImageBase.php
deleted file mode 100644
index b932067..0000000
--- a/src/SchemaImageBase.php
+++ /dev/null
@@ -1,72 +0,0 @@
-<?php
-
-/**
- * Schema.org Image items should extend this class.
- */
-class SchemaImageBase extends SchemaNameBase {
-
-  use SchemaImageTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = array()) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->imageForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      'representativeOfPage',
-      'url',
-      'width',
-      'height',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case '@type':
-          $items[$key] = 'ImageObject';
-          break;
-
-        case 'url':
-          $items[$key] = static::randomUrl();
-          break;
-
-        case 'representativeOfPage':
-          $items[$key] = 'True';
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(1, '');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaImageTrait.php b/src/SchemaImageTrait.php
index 2e72486..16b8f01 100644
--- a/src/SchemaImageTrait.php
+++ b/src/SchemaImageTrait.php
@@ -28,7 +28,10 @@ trait SchemaImageTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaIsAccessibleForFreeBase.php b/src/SchemaIsAccessibleForFreeBase.php
deleted file mode 100644
index f93366c..0000000
--- a/src/SchemaIsAccessibleForFreeBase.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
-/**
- * Provides a plugin for the 'isAccessibleForFree' meta tag.
- */
-class SchemaIsAccessibleForFreeBase extends SchemaNameBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-    $form = parent::getForm($options);
-    $form['value']['#type'] = 'select';
-    $form['value']['#empty_option'] = t('True');
-    $form['value']['#empty_value'] = '';
-    $form['value']['#options'] = ['False' => 'False'];
-    $form['value']['#description'] = $this->t('Whether this object is accessible for free. If used on a CreativeWork, like a WebPage or Article, be sure to fill out "hasPart" as well.');
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    return 'False';
-  }
-
-}
diff --git a/src/SchemaItemListBase.php b/src/SchemaItemListBase.php
deleted file mode 100644
index 971e934..0000000
--- a/src/SchemaItemListBase.php
+++ /dev/null
@@ -1,48 +0,0 @@
-<?php
-
-/**
- * Provides a plugin for the 'schema_item_list' meta tag.
- */
-class SchemaItemListBase extends SchemaNameBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getElement(array $options = array()) {
-    $element = parent::getElement($options);
-    if (!empty($element)) {
-      $view = $options['token data']['view'];
-      $id = $view->base_field;
-      $entity_type = $view->base_table;
-      $key = 1;
-      $value = [];
-      foreach ($view->result as $item) {
-        // If this is a display that does not provide an entity in the result,
-        // there is really nothing more to do.
-        if (empty($item->$id)) {
-          return '';
-        }
-        // Get the absolute path to this entity.
-        $entity = entity_load($entity_type, [$item->$id]);
-        $entity = array_shift($entity);
-        $uri = entity_uri($entity_type, $entity);
-        $url = drupal_get_path_alias($uri['path']);
-        $absolute = url($url, array('absolute' => TRUE));
-        $value[] = [
-          '@type' => 'ListItem',
-          'position' => $key,
-          'name' => $entity->title,
-          'url' => $absolute,
-        ];
-        $key++;
-      }
-      foreach ($element['#attached']['drupal_add_html_head'] as $key => $item) {
-        if ($item[1] == 'schema_metatag_schema_item_list.itemListElement') {
-          $element['#attached']['drupal_add_html_head'][$key][0]['#attributes']['content'] = $value;
-        }
-      }
-    }
-    return $element;
-  }
-
-}
diff --git a/src/SchemaItemListElementBase.php b/src/SchemaItemListElementBase.php
deleted file mode 100644
index e619c19..0000000
--- a/src/SchemaItemListElementBase.php
+++ /dev/null
@@ -1,84 +0,0 @@
-<?php
-
-/**
- * All Schema.org itemListElement tags should extend this class.
- */
-class SchemaItemListElementBase extends SchemaNameBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-    $form = parent::getForm($options);
-    $form['value']['#description'] = $this->t('To create a list, provide a token for a multiple value field, or a comma-separated list of values.');
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function outputValue($input_value) {
-    $items = [];
-    $values = static::getItems($input_value);
-    if (!empty($values) && is_array($values)) {
-      foreach ($values as $key => $value) {
-        // Complex arrays of values are displayed as ListItem objects, otherwise
-        // values are presented in a simple list.
-        if (is_array($value)) {
-          // Maps to Google all-in-one page view.
-          if (array_key_exists('@type', $value)) {
-            $items[] = [
-              '@type' => 'ListItem',
-              'position' => $key,
-              'item' => $value,
-            ];
-          }
-          // Maps to Google summary list view.
-          elseif (array_key_exists('url', $value)) {
-            $items[] = [
-              '@type' => 'ListItem',
-              'position' => $key,
-              'url' => $value['url'],
-            ];
-          }
-          // Maps to breadcrumb list.
-          elseif (array_key_exists('name', $value) && array_key_exists('item', $value)) {
-            $items[] = [
-              '@type' => 'ListItem',
-              'position' => $key,
-              'name' => $value['name'],
-              'item' => $value['item'],
-            ];
-          }
-        }
-        // Alternative simple list.
-        else {
-          $items[] = $value;
-        }
-      }
-    }
-    return $items;
-  }
-
-  /**
-   * Process the input value into an array of items.
-   *
-   * Each type of ItemList can extend this to process the input value into a
-   * list of items. The default behavior will be a simple array from a
-   * comma-separated list.
-   */
-  public static function getItems($input_value) {
-    if (!is_array($input_value)) {
-      $input_value = SchemaMetatagManager::explode($input_value);
-    }
-    return $input_value;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    return static::testDefaultValue(3, ',');
-  }
-
-}
diff --git a/src/SchemaItemListElementBreadcrumbBase.php b/src/SchemaItemListElementBreadcrumbBase.php
deleted file mode 100644
index 58e3a2f..0000000
--- a/src/SchemaItemListElementBreadcrumbBase.php
+++ /dev/null
@@ -1,86 +0,0 @@
-<?php
-
-/**
- * All Schema.org Breadcrumb tags should extend this class.
- */
-class SchemaItemListElementBreadcrumbBase extends SchemaItemListElementBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-    $form['value'] = [
-      '#type' => 'select',
-      '#title' => $this->label(),
-      '#default_value' => $this->value(),
-      '#empty_option' => $this->t('No'),
-      '#empty_value' => '',
-      '#options' => [
-        'Yes' => $this->t('Yes'),
-      ],
-      '#description' => $this->description(),
-    ];
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    return 'Yes';
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function outputValue($input_value) {
-    $output_value = parent::outputValue($input_value);
-    $items = [];
-    if (!empty($output_value)) {
-      $items = [
-        "@type" => "BreadcrumbList",
-        "itemListElement" => $output_value,
-      ];
-    }
-    return $items;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getItems($input_value) {
-    $values = [];
-    if (!empty($input_value)) {
-      $breadcrumbs = drupal_get_breadcrumb();
-
-      // Methods on DrupalDefaultMetaTag can't be called statically, and we
-      // can't use $this from a static method, so create an empty instance.
-      $data = $info = [];
-      $processor = new DrupalDefaultMetaTag($data, $info);
-      $key = 1;
-      foreach ($breadcrumbs as $item) {
-        $text = strip_tags($item);
-        $url = '';
-        $matches = [];
-        if (preg_match('/href="([^"]*)"/', $item, $matches)) {
-          if (!empty($matches[1])) {
-            $url = $matches[1];
-            $url = $processor->convertUrlToAbsolute($url);
-          }
-        }
-        $values[$key] = [
-          '@id' => $url,
-          'name' => $text,
-          'item' => $url,
-        ];
-         $key++;
-      }
-    }
-    return $values;
-  }
-
-}
diff --git a/src/SchemaItemListElementViewsBase.php b/src/SchemaItemListElementViewsBase.php
deleted file mode 100644
index d69d773..0000000
--- a/src/SchemaItemListElementViewsBase.php
+++ /dev/null
@@ -1,84 +0,0 @@
-<?php
-
-/**
- * All Schema.org views itemListElement tags should extend this class.
- */
-class SchemaItemListElementViewsBase extends SchemaItemListElementBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-    $form = parent::getForm($options);
-    $form['value']['#attributes']['placeholder'] = 'view_name:display_id';
-    $form['value']['#description'] = $this->t("Provide the machine name of the view, the machine name of the display, and any argument values, separated by colons, i.e. 'view_name:display_id' or 'view_name:display_id:article.  Use 'view_name:display_id:{{args}}' to pass the page arguments to the view. This will create a <a href=':url'>Summary View</a> list, which assumes each list item contains the url to a view page for the entity. The view rows should contain content (like teaser views) rather than fields for this to work correctly.", [':url' => 'https://developers.google.com/search/docs/guides/mark-up-listings']);
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    return 'frontpage:page';
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function getItems($input_value) {
-    $values = [];
-    $args = explode(':', $input_value);
-    if (!empty($args)) {
-      $view_id = count($args) > 0 ? array_shift($args) : '';
-      // Get the view results.
-      $view = views_get_view($view_id);
-
-      $display_id = count($args) > 0 ? array_shift($args) : '';
-      $view->set_display($display_id);
-
-      if (count($args) == 1 && $args[0] == '{{args}}') {
-        $view_path = explode("/", $view->get_path());
-        $query_args = arg();
-
-        $args = [];
-        foreach ($query_args as $index => $arg) {
-          if (in_array($arg, $view_path)) {
-            unset($query_args[$index]);
-          }
-        }
-        if (!empty($query_args)) {
-          $args = array_values($query_args);
-        }
-      }
-
-      if (!empty($args)) {
-        $view->set_arguments($args);
-      }
-      $view->pre_execute();
-      $view->execute();
-
-      $id = $view->base_field;
-      $entity_type = $view->base_table;
-      $values = [];
-      foreach ($view->result as $key => $item) {
-        // If this is a display that does not provide an entity in the result,
-        // there is really nothing more to do.
-        if (!empty($item->$id)) {
-          // Get the absolute path to this entity.
-          $entity = entity_load($entity_type, [$item->$id]);
-          $entity = array_shift($entity);
-          $uri = entity_uri($entity_type, $entity);
-          $url = drupal_get_path_alias($uri['path']);
-          $absolute = url($url, array('absolute' => TRUE));
-          $values[$key + 1] = [
-            '@id' => $url,
-            'name' => $entity->title,
-            'url' => $absolute,
-          ];
-        }
-      }
-    }
-    return !empty($values) ? $values : '';
-  }
-
-}
diff --git a/src/SchemaMainEntityOfPageBase.php b/src/SchemaMainEntityOfPageBase.php
deleted file mode 100644
index 924d152..0000000
--- a/src/SchemaMainEntityOfPageBase.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-/**
- * Schema.org MainEntityOfPage items should extend this class.
- */
-class SchemaMainEntityOfPageBase extends SchemaNameBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-    $form = parent::getForm($options);
-    $form['value']['#description'] = $this->t("If this is the main content of the page, provide url of the page. i.e. '[current-page:url]'. Only one object on each page should be marked as the main entity of the page.");
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    return static::randomUrl();
-  }
-
-}
diff --git a/src/SchemaMetatagManager.php b/src/SchemaMetatagManager.php
index 6bb5bf1..889f695 100644
--- a/src/SchemaMetatagManager.php
+++ b/src/SchemaMetatagManager.php
@@ -8,7 +8,7 @@
 /**
  * A class to create random strings for testing.
  */
-class Random {
+class SchemaMetatagRandom {
 
   /**
    * Return a random string of a given length.
@@ -32,7 +32,7 @@ class Random {
 }
 
 /**
- * Class SchemaMetatagManager.
+ * The class SchemaMetatagManager.
  *
  * @package Drupal\schema_metatag
  */
@@ -126,7 +126,6 @@ class SchemaMetatagManager implements SchemaMetatagManagerInterface {
     $count = max(array_map([__CLASS__, 'countNumericKeys'], $content));
     $pivoted = [];
     $exploded = [];
-    $keys = array_keys($content);
     for ($i = 0; $i < $count; $i++) {
       foreach ($content as $key => $item) {
         // If a lower array is pivoted, pivot that first.
@@ -183,7 +182,7 @@ class SchemaMetatagManager implements SchemaMetatagManagerInterface {
   public static function explode($value) {
     $value = explode(',', $value);
     $value = array_map('trim', $value);
-    //$value = array_unique($value);
+    // $value = array_unique($value);
     if (count($value) == 1) {
       return $value[0];
     }
@@ -226,7 +225,7 @@ class SchemaMetatagManager implements SchemaMetatagManagerInterface {
       // than the original tokens.
       $value = self::recomputeSerializedLength($value);
       // Keep broken unserialization from throwing errors on the page.
-      if ($value = @unserialize($value)) {
+      if ($value = @unserialize($value, ['allowed_classes' => FALSE])) {
         $value = self::arrayTrim($value);
       }
       else {
@@ -245,7 +244,6 @@ class SchemaMetatagManager implements SchemaMetatagManagerInterface {
     if (!is_string($value)) {
       return FALSE;
     }
-    $data = trim($value);
     if ('N' == $value) {
       return TRUE;
     }
@@ -333,7 +331,7 @@ class SchemaMetatagManager implements SchemaMetatagManagerInterface {
    * {@inheritdoc}
    */
   public static function randomString($length = 8) {
-    $randomGenerator = new Random();
+    $randomGenerator = new SchemaMetatagRandom();
     if ($length < 4) {
       return $randomGenerator->string($length, TRUE);
     }
@@ -347,7 +345,7 @@ class SchemaMetatagManager implements SchemaMetatagManagerInterface {
    * {@inheritdoc}
    */
   public static function randomMachineName($length = 8) {
-    $randomGenerator = new Random();
+    $randomGenerator = new SchemaMetatagRandom();
     return $randomGenerator->name($length, TRUE);
   }
 
diff --git a/src/SchemaMetatagManagerInterface.php b/src/SchemaMetatagManagerInterface.php
index 01dcbab..536d525 100644
--- a/src/SchemaMetatagManagerInterface.php
+++ b/src/SchemaMetatagManagerInterface.php
@@ -1,7 +1,7 @@
 <?php
 
 /**
- * Interface SchemaMetatagManagerInterface.
+ * The interface SchemaMetatagManagerInterface.
  *
  * @package Drupal\schema_metatag
  */
@@ -16,18 +16,18 @@ interface SchemaMetatagManagerInterface {
    * @return array
    *   Array of Schema metatag tags, ready to be turned into JSON LD.
    */
-  public static function parseJsonld(&$elements);
+  public static function parseJsonld(array &$elements);
 
   /**
    * Convert a metatags-style data array to JSON LD.
    *
-   * @param $items
+   * @param array $items
    *   Array of Schema metatag tags, ready to be turned into JSON LD.
    *
    * @return string
    *   Json-encoded representation of the structured data.
    */
-  public static function encodeJsonld($items);
+  public static function encodeJsonld(array $items);
 
   /**
    * Create the JSON LD render array.
@@ -67,7 +67,7 @@ interface SchemaMetatagManagerInterface {
    * @return array
    *   The pivoted array.
    */
-  public static function pivot($content);
+  public static function pivot(array $content);
 
   /**
    * If the item is an array with numeric keys, count the keys.
@@ -78,7 +78,7 @@ interface SchemaMetatagManagerInterface {
    * @return int
    *   The number of numeric keys in the array.
    */
-  public static function countNumericKeys($item);
+  public static function countNumericKeys(array $item);
 
   /**
    * Explode values if this is a multiple value field.
@@ -99,9 +99,9 @@ interface SchemaMetatagManagerInterface {
    *
    * @return string
    *   The serialized value.
-   * Wrapper for serialize to prevent errors.
+   *   Wrapper for serialize to prevent errors.
    */
-  public static function serialize($value);
+  public static function serialize(array $value);
 
   /**
    * Wrapper for unserialize to prevent errors.
@@ -136,7 +136,7 @@ interface SchemaMetatagManagerInterface {
    * @return array
    *   The original array with empty values removed.
    */
-  public static function arrayTrim($array);
+  public static function arrayTrim(array $array);
 
   /**
    * Is object?
@@ -152,7 +152,7 @@ interface SchemaMetatagManagerInterface {
    * @return bool
    *   TRUE/FALSE.
    */
-  public static function isObject($array);
+  public static function isObject(array $array);
 
   /**
    * Check if a value looks like a serialized array.
diff --git a/src/SchemaMetatagTag.php b/src/SchemaMetatagTag.php
index 426b3a6..6f94729 100644
--- a/src/SchemaMetatagTag.php
+++ b/src/SchemaMetatagTag.php
@@ -18,13 +18,13 @@ class SchemaMetaTagTag extends DrupalTextMetaTag {
       'token types' => array(),
     );
 
-    $form['value'] = isset($this->info['form']) ? $this->info['form'] : array();
+    $form['value'] = isset($this->info['form']) ?? array();
 
     $form['value'] += array(
       '#type' => 'textfield',
       '#title' => $this->info['label'],
-      '#description' => !empty($this->info['description']) ? $this->info['description'] : '',
-      '#default_value' => isset($this->data['value']) ? $this->data['value'] : '',
+      '#description' => !empty($this->info['description']) ?? '',
+      '#default_value' => isset($this->data['value']) ?? '',
       '#element_validate' => array('token_element_validate'),
       '#token_types' => $options['token types'],
       '#maxlength' => 1024,
@@ -113,7 +113,7 @@ class SchemaMetaTagTag extends DrupalTextMetaTag {
         $values = array($values[0]);
       }
 
-      foreach ($values as $key => &$image_value) {
+      foreach ($values as &$image_value) {
         // Remove any unwanted whitespace around the value.
         $image_value = trim($image_value);
 
@@ -163,7 +163,7 @@ class SchemaMetaTagTag extends DrupalTextMetaTag {
     $elements = array();
 
     // Dynamically add each option to this setting.
-    $base_element = isset($this->info['element']) ? $this->info['element'] : array();
+    $base_element = isset($this->info['element']) ?? array();
 
     // Single item.
     if (empty($this->info['multiple'])) {
diff --git a/src/SchemaMetatagTestTagInterface.php b/src/SchemaMetatagTestTagInterface.php
index 7dabfb6..cbbae26 100644
--- a/src/SchemaMetatagTestTagInterface.php
+++ b/src/SchemaMetatagTestTagInterface.php
@@ -3,7 +3,8 @@
 /**
  * Interface SchemaMetatagTestTagInterface.
  *
- * Methods that provide test values for SchemaNameBase and its derivatives.
+ * Methods that provide test values for SchemaMetatagNameBase and its
+ * derivatives.
  *
  * @package Drupal\schema_metatag
  */
diff --git a/src/SchemaMonetaryAmountBase.php b/src/SchemaMonetaryAmountBase.php
deleted file mode 100644
index 964fb14..0000000
--- a/src/SchemaMonetaryAmountBase.php
+++ /dev/null
@@ -1,72 +0,0 @@
-<?php
-
-/**
- * Schema.org MonetaryAmount should extend this class.
- */
-class SchemaMonetaryAmountBase extends SchemaNameBase {
-
-  use SchemaMonetaryAmountTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->monetaryAmountForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      'currency',
-      'value',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case '@type':
-          $items[$key] = 'MonetaryAmount';
-          break;
-
-        case 'value':
-          $items[$key] = [
-            '@type' => 'QuantitativeValue',
-            'value' => parent::testDefaultValue(1, ''),
-            'minValue' => parent::testDefaultValue(1, ''),
-            'maxValue' => parent::testDefaultValue(1, ''),
-            'unitText' => 'HOUR',
-          ];
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(1, '');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaMonetaryAmountTrait.php b/src/SchemaMonetaryAmountTrait.php
index dbef89a..af7cff2 100644
--- a/src/SchemaMonetaryAmountTrait.php
+++ b/src/SchemaMonetaryAmountTrait.php
@@ -28,7 +28,10 @@ trait SchemaMonetaryAmountTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaNameBase.php b/src/SchemaNameBase.php
deleted file mode 100644
index c291d06..0000000
--- a/src/SchemaNameBase.php
+++ /dev/null
@@ -1,280 +0,0 @@
-<?php
-
-/**
- * All Schema.org tags should extend this class.
- */
-class SchemaNameBase extends DrupalTextMetaTag implements SchemaMetatagTestTagInterface {
-
-  /**
-   * The schemaMetatagManager service.
-   *
-   * @var \Drupal\schema_metatag\schemaMetatagManager
-   */
-  protected $schemaMetatagManager;
-
-  /**
-   * Constructor.
-   */
-  function __construct(array $info, array $data = NULL) {
-    parent::__construct($info, $data);
-    $this->schemaMetatagManager = new SchemaMetatagManager();
-  }
-
-  /**
-   * Return the SchemaMetatagManager.
-   *
-   * @return \Drupal\schema_metatag\SchemaMetatagManager
-   *   The Schema Metatag Manager service.
-   */
-  protected function schemaMetatagManager() {
-    return $this->schemaMetatagManager;
-  }
-
-  /**
-   * Wrappers to create D7 methods that match D8 format.
-   *
-   * To make it possible to re-use some D8 code.
-   */
-
-  /**
-   * {@inheritdoc}
-   */
-  public function t($str, $args = []) {
-    return t($str, $args);
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getPluginId() {
-    return $this->info['name'];
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function label() {
-    return $this->info['label'];
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function description() {
-    return $this->info['description'];
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function multiple() {
-    return !empty($this->info['multiple']);
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function value() {
-    return !empty($this->data['value']) ? $this->data['value'] : '';
-  }
-
-  /**
-   * The #states visibility selector for this element.
-   */
-  protected function visibilitySelector() {
-    return 'metatags[und][' . $this->info['name'] . '][value]';
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = array()) {
-
-    $form = parent::getForm($options);
-
-    // Add a validation callback to serialize nested arrays.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getElement(array $options = array()) {
-    $this->options = $options;
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    // If this is a complex array of value, process the array.
-    if (is_array($value)) {
-
-      // Clean out empty values.
-      $value = $this->schemaMetatagManager()->arrayTrim($value);
-    }
-
-    if (empty($value)) {
-      return '';
-    }
-    // If this is a complex array of values, process the array.
-    elseif (is_array($value)) {
-
-      // If the item is an array of values,
-      // walk the array and process the values.
-      array_walk_recursive($value, 'static::processItem');
-
-      // Recursively pivot each branch of the array.
-      $value = static::pivotItem($value);
-
-    }
-    // Process a simple string.
-    else {
-      $this->processItem($value);
-    }
-    $parts = explode('.', $this->info['name']);
-    $id = 'schema_metatag_' . $this->info['name'];
-    $element = [
-      '#type' => 'html_tag',
-      '#tag' => 'meta',
-      '#attributes' => [
-        'schema_metatag' => TRUE,
-        'group' => $parts[0],
-        'name' => $parts[1],
-        'content' => static::outputValue($value),
-      ],
-    ];
-    return array(
-      '#attached' => array('drupal_add_html_head' => array(array($element, $id))),
-    );
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function pivotItem($array) {
-    // See if any nested items need to be pivoted.
-    // If pivot is set to 0, it would have been removed as an empty value.
-    if (array_key_exists('pivot', $array)) {
-      unset($array['pivot']);
-      $array = $this->schemaMetatagManager()->pivot($array);
-    }
-    foreach ($array as $key => &$value) {
-      if (is_array($value)) {
-        $value = static::pivotItem($value);
-      }
-    }
-    return $array;
-  }
-
-  /**
-   * Nested elements that cannot be exploded.
-   *
-   * @return array
-   *   Array of keys that might contain commas, or otherwise cannot be exploded.
-   */
-  public static function neverExplode() {
-    return [
-      'streetAddress',
-      'reviewBody',
-      'recipeInstructions',
-    ];
-  }
-
-
-  /**
-   * Process an individual item.
-   *
-   * This is a copy of the original processing done by Metatag module,
-   * but applied to every item on the array of values.
-   */
-  protected function processItem(&$value, $key = 0) {
-
-    $explode = $key === 0 ? $this->multiple() : !in_array($key, static::neverExplode());
-
-    // $this->getValue() will process all subelements of our array
-    // but not all of them need that processing.
-    // Swap in the individual values/info as though they were the only
-    // values, do the processing, then return to the original values.
-    $backup_data = $this->data;
-    $backup_info = $this->info;
-
-    $this->data['value'] = $value;
-    if (!empty($this->info['url'])) {
-      $this->info['url'] = $this->info['url'] && in_array($key, ['url', 'sameAs']);
-    }
-    if (!empty($this->info['image'])) {
-      $this->info['image'] = $this->info['image'] && in_array($key, ['url']);
-    }
-
-    $value = $this->getValue($this->options);
-
-    if ($explode) {
-      $value = $this->schemaMetatagManager()->explode($value);
-      // Clean out any empty values that might have been added by explode().
-      if (is_array($value)) {
-        $value = array_filter($value);
-      }
-    }
-
-    // Swap back in the original values.
-    $this->data = $backup_data;
-    $this->info = $backup_info;
-
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function outputValue($input_value) {
-    return $input_value;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    return static::testDefaultValue(2, ' ');
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function processedTestValue($items) {
-    return $items;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function processTestExplodeValue($items) {
-    if (!is_array($items)) {
-      $items = SchemaMetatagManager::explode($items);
-      // Clean out any empty values that might have been added by explode().
-      if (is_array($items)) {
-        array_filter($items);
-      }
-    }
-    return $items;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function randomUrl() {
-    return 'http://google.com/' . static::testDefaultValue(1, '');
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testDefaultValue($count = NULL, $delimiter = NULL) {
-    $items = [];
-    $min = 1;
-    $max = isset($count) ? $count : 2;
-    $delimiter = isset($delimiter) ? $delimiter : ' ';
-    for ($i = $min; $i <= $max; $i++) {
-      $items[] = SchemaMetatagManager::randomMachineName();
-    }
-    return implode($delimiter, $items);
-  }
-
-}
diff --git a/src/SchemaNutritionInformationBase.php b/src/SchemaNutritionInformationBase.php
deleted file mode 100644
index 68ee257..0000000
--- a/src/SchemaNutritionInformationBase.php
+++ /dev/null
@@ -1,72 +0,0 @@
-<?php
-
-/**
- * Schema.org NutritionInformation items should extend this class.
- */
-class SchemaNutritionInformationBase extends SchemaNameBase {
-
-  use SchemaNutritionInformationTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->nutritionInformationForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      'servingSize',
-      'calories',
-      'carbohydrateContent',
-      'cholesterolContent',
-      'fiberContent',
-      'proteinContent',
-      'sodiumContent',
-      'sugarContent',
-      'fatContent',
-      'saturatedFatContent',
-      'unsaturatedFatContent',
-      'transFatContent',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case '@type':
-          $items[$key] = 'NutritionInformation';
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(1, '');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaNutritionInformationTrait.php b/src/SchemaNutritionInformationTrait.php
index 42177cc..e205adf 100644
--- a/src/SchemaNutritionInformationTrait.php
+++ b/src/SchemaNutritionInformationTrait.php
@@ -30,7 +30,10 @@ trait SchemaNutritionInformationTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaOfferBase.php b/src/SchemaOfferBase.php
deleted file mode 100644
index 3f94866..0000000
--- a/src/SchemaOfferBase.php
+++ /dev/null
@@ -1,97 +0,0 @@
-<?php
-
-/**
- * Provides a plugin for the 'schema_offer_base' meta tag.
- */
-class SchemaOfferBase extends SchemaNameBase {
-
-  use SchemaOfferTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->offerForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      '@id',
-      'price',
-      'priceCurrency',
-      'lowPrice',
-      'highPrice',
-      'offerCount',
-      'url',
-      'availability',
-      'availabilityStarts',
-      'availabilityEnds',
-      'itemCondition',
-      'validFrom',
-      'category',
-      'eligibleRegion',
-      'ineligibleRegion',
-      'priceValidUntil',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case '@type':
-          $items[$key] = 'Offer';
-          break;
-
-        case 'eligibleRegion':
-        case 'ineligibleRegion':
-          $items[$key] = SchemaCountryBase::testValue();
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(2, ' ');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function processedTestValue($items) {
-    foreach ($items as $key => $value) {
-      switch ($key) {
-        case 'eligibleRegion':
-        case 'ineligibleRegion':
-          $items[$key] = SchemaCountryBase::processedTestValue($items[$key]);
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-
-}
diff --git a/src/SchemaOfferTrait.php b/src/SchemaOfferTrait.php
index dbf7f3d..f2eb673 100644
--- a/src/SchemaOfferTrait.php
+++ b/src/SchemaOfferTrait.php
@@ -31,7 +31,10 @@ trait SchemaOfferTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaOpeningHoursSpecificationBase.php b/src/SchemaOpeningHoursSpecificationBase.php
deleted file mode 100644
index ff9da04..0000000
--- a/src/SchemaOpeningHoursSpecificationBase.php
+++ /dev/null
@@ -1,87 +0,0 @@
-<?php
-
-/**
- * Schema.org OpeningHoursSpecification items should extend this class.
- */
-class SchemaOpeningHoursSpecificationBase extends SchemaNameBase {
-
-  use SchemaOpeningHoursSpecificationTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->openingHoursSpecificationForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      'dayOfWeek',
-      'opens',
-      'closes',
-      'validFrom',
-      'validThrough',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case '@type':
-          $items[$key] = 'OpeningHoursSpecification';
-          break;
-
-        case 'dayOfWeek':
-        case 'opens':
-        case 'closes';
-          $items[$key] = parent::testDefaultValue(3, ',');
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(1, '');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function processedTestValue($items) {
-    foreach ($items as $key => $value) {
-      switch ($key) {
-        case 'dayOfWeek':
-        case 'opens':
-        case 'closes':
-          $items[$key] = static::processTestExplodeValue($items[$key]);
-          break;
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaOpeningHoursSpecificationTrait.php b/src/SchemaOpeningHoursSpecificationTrait.php
index a78b64b..b949872 100644
--- a/src/SchemaOpeningHoursSpecificationTrait.php
+++ b/src/SchemaOpeningHoursSpecificationTrait.php
@@ -30,7 +30,10 @@ trait SchemaOpeningHoursSpecificationTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaPersonOrgBase.php b/src/SchemaPersonOrgBase.php
deleted file mode 100644
index 739fe01..0000000
--- a/src/SchemaPersonOrgBase.php
+++ /dev/null
@@ -1,96 +0,0 @@
-<?php
-
-/**
- * Schema.org Person/Org items should extend this class.
- */
-class SchemaPersonOrgBase extends SchemaNameBase {
-
-  use SchemaPersonOrgTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->personOrgForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      '@id',
-      'name',
-      'url',
-      'sameAs',
-      'logo',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case 'pivot':
-          break;
-
-        case 'logo':
-          $items[$key] = SchemaImageBase::testValue();
-          break;
-
-        case '@type':
-          $items[$key] = 'Organization';
-          break;
-
-        case 'url':
-        case 'sameAs':
-          $items[$key] = static::randomUrl() . ',' . static::randomUrl() . ',' . static::randomUrl();
-
-        default:
-          $items[$key] = parent::testDefaultValue(2, ' ');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function processedTestValue($items) {
-    foreach ($items as $key => $value) {
-      switch ($key) {
-        case 'url':
-        case 'sameAs':
-          $items[$key] = static::processTestExplodeValue($items[$key]);
-          break;
-
-        case 'logo':
-          $items[$key] = SchemaImageBase::processedTestValue($items[$key]);
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaPersonOrgTrait.php b/src/SchemaPersonOrgTrait.php
index beec5d2..1d0c87e 100644
--- a/src/SchemaPersonOrgTrait.php
+++ b/src/SchemaPersonOrgTrait.php
@@ -30,11 +30,17 @@ trait SchemaPersonOrgTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $org_visibility = ['invisible' => [$selector => ['value' => 'Person']]];
     $org_visibility2 = ['invisible' => [$selector2 => ['value' => 'Person']]];
-    $org_visibility['invisible'] = [$org_visibility['invisible'], $org_visibility2['invisible']];
+    $org_visibility['invisible'] = [
+      $org_visibility['invisible'],
+      $org_visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaPlaceBase.php b/src/SchemaPlaceBase.php
deleted file mode 100644
index ef07a53..0000000
--- a/src/SchemaPlaceBase.php
+++ /dev/null
@@ -1,91 +0,0 @@
-<?php
-
-/**
- * Schema.org Place items should extend this class.
- */
-class SchemaPlaceBase extends SchemaAddressBase {
-
-  use SchemaPlaceTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->placeForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      'name',
-      'url',
-      'address',
-      'geo',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case 'address':
-          $items[$key] = SchemaAddressBase::testValue();
-          break;
-
-        case 'geo':
-          $items[$key] = SchemaGeoBase::testValue();
-          break;
-
-        case '@type':
-          $items[$key] = 'Place';
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(2, ' ');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function processedTestValue($items) {
-    foreach ($items as $key => $value) {
-      switch ($key) {
-        case 'address':
-          $items[$key] = SchemaAddressBase::processedTestValue($items[$key]);
-          break;
-
-        case 'geo':
-          $items[$key] = SchemaGeoBase::processedTestValue($items[$key]);
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaPlaceTrait.php b/src/SchemaPlaceTrait.php
index 63f2940..cbba78e 100644
--- a/src/SchemaPlaceTrait.php
+++ b/src/SchemaPlaceTrait.php
@@ -32,7 +32,10 @@ trait SchemaPlaceTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaProgramMembershipBase.php b/src/SchemaProgramMembershipBase.php
deleted file mode 100644
index 547867f..0000000
--- a/src/SchemaProgramMembershipBase.php
+++ /dev/null
@@ -1,103 +0,0 @@
-<?php
-
-/**
- * Schema.org ProgramMembership items should extend this class.
- */
-class SchemaProgramMembershipBase extends SchemaNameBase {
-
-  use SchemaProgramMembershipTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->programMembershipForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      'name',
-      'programName',
-      'alternateName',
-      'hostingOrganization',
-      'member',
-      'membershipNumber',
-      'identifier',
-      'additionalType',
-      'description',
-      'disambiguatingDescription',
-      'image',
-      'mainEntityOfPage',
-      'url',
-      'sameAs',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case '@type':
-          $items[$key] = 'ProgramMembership';
-          break;
-
-        case 'hostingOrganization':
-        case 'member':
-          $items[$key] = SchemaPersonOrgBase::testValue();
-          break;
-
-        case 'image':
-          $items[$key] = SchemaImageBase::testValue();
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(1, '');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function processedTestValue($items) {
-    foreach ($items as $key => $value) {
-      switch ($key) {
-        case 'hostingOrganization':
-        case 'member':
-          $items[$key] = SchemaPersonOrgBase::processedTestValue($items[$key]);
-          break;
-
-        case 'image':
-          $items[$key] = SchemaImageBase::processedTestValue($items[$key]);
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaProgramMembershipTrait.php b/src/SchemaProgramMembershipTrait.php
index b6dc186..4415094 100644
--- a/src/SchemaProgramMembershipTrait.php
+++ b/src/SchemaProgramMembershipTrait.php
@@ -31,7 +31,10 @@ trait SchemaProgramMembershipTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaQuestionBase.php b/src/SchemaQuestionBase.php
deleted file mode 100644
index d81a119..0000000
--- a/src/SchemaQuestionBase.php
+++ /dev/null
@@ -1,97 +0,0 @@
-<?php
-
-/**
- * Schema.org Question items should extend this class.
- */
-class SchemaQuestionBase extends SchemaNameBase {
-
-  use SchemaQuestionTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->questionForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      'name',
-      'text',
-      'upvoteCount',
-      'answerCount',
-      'acceptedAnswer',
-      'suggestedAnswer',
-      'dateCreated',
-      'author',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case '@type':
-          $items[$key] = 'Question';
-          break;
-
-        case 'author':
-          $items[$key] = SchemaPersonOrgBase::testValue();
-          break;
-
-        case 'acceptedAnswer':
-        case 'suggestedAnswer':
-          $items[$key] = SchemaAnswerBase::testValue();
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(1, '');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function processedTestValue($items) {
-    foreach ($items as $key => $value) {
-      switch ($key) {
-        case 'author':
-          $items[$key] = SchemaPersonOrgBase::processedTestValue($items[$key]);
-          break;
-
-        case 'acceptedAnswer':
-        case 'suggestedAnswer':
-          $items[$key] = SchemaAnswerBase::processedTestValue($items[$key]);
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaQuestionTrait.php b/src/SchemaQuestionTrait.php
index 5bfedb9..b035edd 100644
--- a/src/SchemaQuestionTrait.php
+++ b/src/SchemaQuestionTrait.php
@@ -34,7 +34,10 @@ trait SchemaQuestionTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaRatingBase.php b/src/SchemaRatingBase.php
deleted file mode 100644
index 9250b6d..0000000
--- a/src/SchemaRatingBase.php
+++ /dev/null
@@ -1,63 +0,0 @@
-<?php
-
-/**
- * Provides a plugin to extend for the 'Rating' meta tag.
- */
-class SchemaRatingBase extends SchemaNameBase {
-
-  use SchemaRatingTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form = parent::getForm($options);
-    $form['value'] = $this->ratingForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      'ratingValue',
-      'bestRating',
-      'worstRating',
-      'ratingCount',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case '@type':
-          $items[$key] = 'Rating';
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(2, ' ');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaRatingTrait.php b/src/SchemaRatingTrait.php
index f8714b1..479502d 100644
--- a/src/SchemaRatingTrait.php
+++ b/src/SchemaRatingTrait.php
@@ -28,7 +28,10 @@ trait SchemaRatingTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaReviewBase.php b/src/SchemaReviewBase.php
deleted file mode 100644
index 1bffe15..0000000
--- a/src/SchemaReviewBase.php
+++ /dev/null
@@ -1,77 +0,0 @@
-<?php
-
-/**
- * Provides a plugin to extend for the 'Review' meta tag.
- */
-class SchemaReviewBase extends SchemaNameBase {
-
-  use SchemaReviewTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form = parent::getForm($options);
-    $form['value'] = $this->reviewForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      'reviewBody',
-      'datePublished',
-      'author',
-      'reviewRating',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case '@type':
-          $items[$key] = 'Review';
-          break;
-
-        case 'author':
-          $items[$key] = [
-            '@type' => 'Person',
-            'name' => parent::testDefaultValue(2, ' '),
-          ];
-          break;
-
-        case 'reviewRating':
-          $items[$key] = [
-            '@type' => 'Rating',
-            'ratingValue' => parent::testDefaultValue(2, ' '),
-          ];
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(2, ' ');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaReviewTrait.php b/src/SchemaReviewTrait.php
index d1c08fc..737a60a 100644
--- a/src/SchemaReviewTrait.php
+++ b/src/SchemaReviewTrait.php
@@ -32,7 +32,10 @@ trait SchemaReviewTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaSpeakableBase.php b/src/SchemaSpeakableBase.php
deleted file mode 100644
index 58624b6..0000000
--- a/src/SchemaSpeakableBase.php
+++ /dev/null
@@ -1,80 +0,0 @@
-<?php
-
-/**
- * Schema.org Speakable items should extend this class.
- */
-class SchemaSpeakableBase extends SchemaNameBase {
-
-  use SchemaSpeakableTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form = parent::getForm($options);
-    $form['value'] = $this->speakableForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      'xpath',
-      'cssSelector',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case 'pivot':
-          break;
-
-        case '@type':
-          $items[$key] = 'SpeakableSpecification';
-          break;
-
-        case 'xpath':
-          $items[$key] = '/html/head/title,/html/head/meta[@name=\'description\']/@content';
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function processedTestValue($items) {
-    foreach ($items as $key => $value) {
-      switch ($key) {
-        case 'xpath':
-        case 'cssSelector':
-          $items[$key] = static::processTestExplodeValue($items[$key]);
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaSpeakableTrait.php b/src/SchemaSpeakableTrait.php
index 36c0eab..6339cf3 100644
--- a/src/SchemaSpeakableTrait.php
+++ b/src/SchemaSpeakableTrait.php
@@ -25,7 +25,10 @@ trait SchemaSpeakableTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaThingBase.php b/src/SchemaThingBase.php
deleted file mode 100644
index b5c07d9..0000000
--- a/src/SchemaThingBase.php
+++ /dev/null
@@ -1,63 +0,0 @@
-<?php
-
-/**
- * Schema.org Thing items should extend this class.
- */
-class SchemaThingBase extends SchemaNameBase {
-
-  use SchemaThingTrait;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-
-    $value = $this->schemaMetatagManager()->unserialize($this->value());
-
-    $input_values = [
-      'title' => $this->label(),
-      'description' => $this->description(),
-      'value' => $value,
-      '#required' => isset($options['#required']) ? $options['#required'] : FALSE,
-      'visibility_selector' => $this->visibilitySelector(),
-    ];
-
-    $form['value'] = $this->thingForm($input_values);
-
-    if (empty($this->multiple())) {
-      unset($form['value']['pivot']);
-    }
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $items = [];
-    $keys = [
-      '@type',
-      '@id',
-      'name',
-      'url',
-    ];
-    foreach ($keys as $key) {
-      switch ($key) {
-        case '@type':
-          $items[$key] = 'Thing';
-          break;
-
-        default:
-          $items[$key] = parent::testDefaultValue(1, '');
-          break;
-
-      }
-    }
-    return $items;
-  }
-
-}
diff --git a/src/SchemaThingTrait.php b/src/SchemaThingTrait.php
index e45efd3..1470d90 100644
--- a/src/SchemaThingTrait.php
+++ b/src/SchemaThingTrait.php
@@ -28,7 +28,10 @@ trait SchemaThingTrait {
     $visibility = ['invisible' => [$selector => ['value' => '']]];
     $selector2 = $this->schemaMetatagManager()->altSelector($selector);
     $visibility2 = ['invisible' => [$selector2 => ['value' => '']]];
-    $visibility['invisible'] = [$visibility['invisible'], $visibility2['invisible']];
+    $visibility['invisible'] = [
+      $visibility['invisible'],
+      $visibility2['invisible'],
+    ];
 
     $form['#type'] = 'fieldset';
     $form['#title'] = $input_values['title'];
diff --git a/src/SchemaTrueFalseBase.php b/src/SchemaTrueFalseBase.php
deleted file mode 100644
index 378a9c8..0000000
--- a/src/SchemaTrueFalseBase.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-
-/**
- * Provides a plugin for the 'trueFalseBase' meta tag.
- */
-class SchemaTrueFalseBase extends SchemaNameBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getForm(array $options = []) {
-    $form = parent::getForm($options);
-    $form['value']['#type'] = 'select';
-    $form['value']['#empty_option'] = $this->t('- None -');
-    $form['value']['#empty_value'] = '';
-    $form['value']['#options'] = ['False' => $this->t('False'), 'True' => $this->t('True')];
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    return 'True';
-  }
-
-}
diff --git a/src/SchemaTypeBase.php b/src/SchemaTypeBase.php
deleted file mode 100644
index cca05c2..0000000
--- a/src/SchemaTypeBase.php
+++ /dev/null
@@ -1,74 +0,0 @@
-<?php
-
-/**
- * Provides a plugin for the 'schema_type_base' meta tag.
- */
-class SchemaTypeBase extends SchemaNameBase {
-
-  /**
-   * Return a list of object labels.
-   *
-   * This is generally the only method that needs to be extended for type tags.
-   * Either return a simple array of types, or prefix the type names with dashes
-   * and spaces to indicate their hierarchy. The prefixed dashes and spaces will
-   * be removed when creating the raw list of available types.
-   *
-   * @see SchemaOrganizationType::labels()
-   */
-  public static function labels() {
-    return ['Organization'];
-  }
-
-  /**
-   * Generate a form element for this meta tag.
-   */
-  public function getForm(array $options = []) {
-    $form['value'] = [
-      '#type' => 'select',
-      '#title' => $this->label(),
-      '#description' => $this->description(),
-      '#empty_option' => $this->t('- None -'),
-      '#empty_value' => '',
-      '#options' => $this->typeOptions(),
-      '#default_value' => $this->value(),
-    ];
-
-    // Validation from parent::getForm() got wiped out, so add callback.
-    $form['value']['#element_validate'][] = 'schema_metatag_element_validate';
-
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    $types = static::types();
-    return array_shift($types);
-  }
-
-  /**
-   * Return a list of object types.
-   */
-  public static function types() {
-    $labels = static::labels();
-    return array_map('static::removePrefix', $labels);
-  }
-
-  /**
-   * Turn the list of types into an option list.
-   */
-  public function typeOptions() {
-    $types = static::types();
-    $labels = static::labels();
-    return array_combine($types, $labels);
-  }
-
-  /**
-   * Clean up a list of labels by removing leading spaces and dashes.
-   */
-  public static function removePrefix($item) {
-    return str_replace(['-', ' '], '', $item);
-  }
-
-}
diff --git a/src/SchemaUrlBase.php b/src/SchemaUrlBase.php
deleted file mode 100644
index 6664a2a..0000000
--- a/src/SchemaUrlBase.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-
-/**
- * Provides a plugin for the 'schema_url_base' meta tag.
- */
-class SchemaUrlBase extends SchemaNameBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public static function testValue() {
-    return static::randomUrl();
-  }
-
-}
diff --git a/tests/schema_metatag.base.test b/tests/schema_metatag.base.test
index 5c25ee7..08d62c5 100644
--- a/tests/schema_metatag.base.test
+++ b/tests/schema_metatag.base.test
@@ -3,7 +3,7 @@
 /**
  * Base class for testing a module's custom tags.
  */
-abstract class SchemaMetatagTagsTestBase extends SchemaMetatagTestHelper {
+abstract class SchemaMetatagTestBase extends SchemaMetatagTestHelper {
 
 
   /**
@@ -65,7 +65,7 @@ abstract class SchemaMetatagTagsTestBase extends SchemaMetatagTestHelper {
 
     $paths = $this->getPaths();
     foreach ($paths as $item) {
-      list($config_path, $rendered_path, $save_message) = $item;
+      [$config_path, $rendered_path, $save_message] = $item;
 
       // Load the config page.
       $this->drupalGet($config_path);
@@ -92,10 +92,9 @@ abstract class SchemaMetatagTagsTestBase extends SchemaMetatagTestHelper {
 
         // Rewrite the test values to match the way the form elements are
         // structured.
-        // @TODO There is probably some way to write this as a recursive
+        // @todo There is probably some way to write this as a recursive
         // function that will go more than three levels deep, but for now this
         // is enough.
-        $buffer = '][';
         $prefix = 'metatags[und][';
         $suffix = '][value]';
         $start = '[';
diff --git a/tests/schema_metatag.helper.test b/tests/schema_metatag.helper.test
index 9324727..b05c7c9 100644
--- a/tests/schema_metatag.helper.test
+++ b/tests/schema_metatag.helper.test
@@ -15,7 +15,7 @@ abstract class SchemaMetatagTestHelper extends DrupalWebTestCase {
   /**
    * {@inheritdoc}
    */
-  function setUp(array $modules = array()) {
+  public function setUp(array $modules = array()) {
 
     // Requirements.
     $modules[] = 'ctools';
@@ -35,7 +35,7 @@ abstract class SchemaMetatagTestHelper extends DrupalWebTestCase {
   /**
    * Create a content type for the tests.
    */
-  function createContentType($machine_name, $label) {
+  public function createContentType($machine_name, $label) {
     // Create a content type.
     $content_type = $this->drupalCreateContentType(array(
       'type' => $machine_name,
@@ -57,7 +57,7 @@ abstract class SchemaMetatagTestHelper extends DrupalWebTestCase {
    * @return object
    *   A user object.
    */
-  function createAdminUser($extra_permissions = array()) {
+  public function createAdminUser(array $extra_permissions = array()) {
     $permissions = array(
       // Basic permissions for the module.
       'administer meta tags',
@@ -84,7 +84,7 @@ abstract class SchemaMetatagTestHelper extends DrupalWebTestCase {
    * @return object
    *   A user object.
    */
-  function createUser($extra_permissions) {
+  public function createUser(array $extra_permissions) {
     // Basic permissions for the module.
     $permissions = array(
       'edit meta tags',
@@ -101,16 +101,16 @@ abstract class SchemaMetatagTestHelper extends DrupalWebTestCase {
   /**
    * Returns a new vocabulary with random properties.
    *
-   * @param $vocab_name
+   * @param string $vocab_name
    *   If empty a random string will be used.
-   * @param $content_type
+   * @param string $content_type
    *   Any content types listed will have a Taxonomy Term reference field added
    *   that points to the new vocabulary.
    *
    * @return object
    *   A vocabulary object.
    */
-  function createVocabulary($vocab_name = NULL, $content_type = NULL) {
+  public function createVocabulary($vocab_name = NULL, $content_type = NULL) {
     if (empty($vocab_name)) {
       $vocab_name = $this->randomName();
     }
@@ -145,7 +145,7 @@ abstract class SchemaMetatagTestHelper extends DrupalWebTestCase {
    * @return object
    *   A taxonomy term object.
    */
-  function createTerm($vocabulary, $term_name = NULL) {
+  public function createTerm($vocabulary, $term_name = NULL) {
     if (empty($term_name)) {
       $term_name = $this->randomName();
     }
diff --git a/tests/schema_metatag.tags.test b/tests/schema_metatag.tags.test
index 39c97a4..3422849 100644
--- a/tests/schema_metatag.tags.test
+++ b/tests/schema_metatag.tags.test
@@ -3,7 +3,7 @@
 /**
  * Tests that each of the Metatag base tags work correctly.
  */
-class SchemaMetatagTagsTest extends SchemaMetatagTagsTestBase {
+class SchemaMetatagTestTags extends SchemaMetatagTestBase {
 
   /**
    * {@inheritdoc}
@@ -42,37 +42,37 @@ class SchemaMetatagTagsTest extends SchemaMetatagTagsTestBase {
    */
   public $schemaTags = [
     'schema_metatag_test.@type' => 'SchemaWebSiteType',
-    'schema_metatag_test.address' => 'SchemaAddressBase',
-    'schema_metatag_test.rating' => 'SchemaRatingBase',
-    'schema_metatag_test.review' => 'SchemaReviewBase',
-    'schema_metatag_test.date' => 'SchemaDateBase',
-    'schema_metatag_test.duration' => 'SchemaDurationBase',
-    'schema_metatag_test.geo' => 'SchemaGeoBase',
-    'schema_metatag_test.hasPart' => 'SchemaHasPartBase',
-    'schema_metatag_test.image' => 'SchemaImageBase',
-    'schema_metatag_test.mainEntityOfPage' => 'SchemaMainEntityOfPageBase',
-    'schema_metatag_test.name' => 'SchemaNameBase',
-    'schema_metatag_test.offer' => 'SchemaOfferBase',
-    'schema_metatag_test.organization' => 'SchemaPersonOrgBase',
-    'schema_metatag_test.place' => 'SchemaPlaceBase',
-    'schema_metatag_test.url' => 'SchemaUrlBase',
+    'schema_metatag_test.address' => 'SchemaMetatagAddressBase',
+    'schema_metatag_test.rating' => 'SchemaMetatagRatingBase',
+    'schema_metatag_test.review' => 'SchemaMetatagReviewBase',
+    'schema_metatag_test.date' => 'SchemaMetatagDateBase',
+    'schema_metatag_test.duration' => 'SchemaMetatagDurationBase',
+    'schema_metatag_test.geo' => 'SchemaMetatagGeoBase',
+    'schema_metatag_test.hasPart' => 'SchemaMetatagHasPartBase',
+    'schema_metatag_test.image' => 'SchemaMetatagImageBase',
+    'schema_metatag_test.mainEntityOfPage' => 'SchemaMetatagMainEntityOfPageBase',
+    'schema_metatag_test.name' => 'SchemaMetatagNameBase',
+    'schema_metatag_test.offer' => 'SchemaMetatagOfferBase',
+    'schema_metatag_test.organization' => 'SchemaMetatagPersonOrgBase',
+    'schema_metatag_test.place' => 'SchemaMetatagPlaceBase',
+    'schema_metatag_test.url' => 'SchemaMetatagUrlBase',
     'schema_metatag_test.action' => 'SchemaWebSitePotentialAction',
-    'schema_metatag_test.country' => 'SchemaCountryBase',
-    'schema_metatag_test.creativeWork' => 'SchemaCreativeWorkBase',
-    'schema_metatag_test.entryPoint' => 'SchemaEntryPointBase',
-    'schema_metatag_test.event' => 'SchemaEventBase',
-    'schema_metatag_test.nutritionInformation' => 'SchemaNutritionInformationBase',
-    'schema_metatag_test.openingHoursSpecification' => 'SchemaOpeningHoursSpecificationBase',
-    'schema_metatag_test.programMembership' => 'SchemaProgramMembershipBase',
-    'schema_metatag_test.thing' => 'SchemaThingBase',
-    'schema_metatag_test.trueFalse' => 'SchemaTrueFalseBase',
-    'schema_metatag_test.monetaryAmount' => 'SchemaMonetaryAmountBase',
-    'schema_metatag_test.contactPoint' => 'SchemaContactPointBase',
-    'schema_metatag_test.speakable' => 'SchemaSpeakableBase',
-    'schema_metatag_test.idReference' => 'SchemaIdReferenceBase',
-    'schema_metatag_test.step' => 'SchemaHowToStepBase',
-    'schema_metatag_test.question' => 'SchemaQuestionBase',
-    'schema_metatag_test.answer' => 'SchemaAnswerBase',
+    'schema_metatag_test.country' => 'SchemaMetatagCountryBase',
+    'schema_metatag_test.creativeWork' => 'SchemaMetatagCreativeWorkBase',
+    'schema_metatag_test.entryPoint' => 'SchemaMetatagEntryPointBase',
+    'schema_metatag_test.event' => 'SchemaMetatagEventBase',
+    'schema_metatag_test.nutritionInformation' => 'SchemaMetatagNutritionInformationBase',
+    'schema_metatag_test.openingHoursSpecification' => 'SchemaMetatagOpeningHoursSpecificationBase',
+    'schema_metatag_test.programMembership' => 'SchemaMetatagProgramMembershipBase',
+    'schema_metatag_test.thing' => 'SchemaMetatagThingBase',
+    'schema_metatag_test.trueFalse' => 'SchemaMetatagTrueFalseBase',
+    'schema_metatag_test.monetaryAmount' => 'SchemaMetatagMonetaryAmountBase',
+    'schema_metatag_test.contactPoint' => 'SchemaMetatagContactPointBase',
+    'schema_metatag_test.speakable' => 'SchemaMetatagSpeakableBase',
+    'schema_metatag_test.idReference' => 'SchemaMetatagIdReferenceBase',
+    'schema_metatag_test.step' => 'SchemaMetatagHowToStepBase',
+    'schema_metatag_test.question' => 'SchemaMetatagQuestionBase',
+    'schema_metatag_test.answer' => 'SchemaMetatagAnswerBase',
   ];
 
 }
diff --git a/tests/schema_metatag_test.metatag.inc b/tests/schema_metatag_test.metatag.inc
index 8b8ceb7..dc15953 100644
--- a/tests/schema_metatag_test.metatag.inc
+++ b/tests/schema_metatag_test.metatag.inc
@@ -20,7 +20,7 @@ function schema_metatag_test_metatag_info() {
 
   // Basic tags.
   $defaults = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'group' => 'testing',
     'form' => array(
       '#type' => 'textfield',
@@ -35,49 +35,49 @@ function schema_metatag_test_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.address'] = array(
-    'class' => 'SchemaAddressBase',
+    'class' => 'SchemaMetatagAddressBase',
     'label' => t('address'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.rating'] = array(
-    'class' => 'SchemaRatingBase',
+    'class' => 'SchemaMetatagRatingBase',
     'label' => t('rating'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.review'] = array(
-    'class' => 'SchemaReviewBase',
+    'class' => 'SchemaMetatagReviewBase',
     'label' => t('review'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.date'] = array(
-    'class' => 'SchemaDateBase',
+    'class' => 'SchemaMetatagDateBase',
     'label' => t('date'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.duration'] = array(
-    'class' => 'SchemaDurationBase',
+    'class' => 'SchemaMetatagDurationBase',
     'label' => t('duration'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.geo'] = array(
-    'class' => 'SchemaGeoBase',
+    'class' => 'SchemaMetatagGeoBase',
     'label' => t('geo'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.image'] = array(
-    'class' => 'SchemaImageBase',
+    'class' => 'SchemaMetatagImageBase',
     'label' => t('image'),
     'description' => '',
     'image' => TRUE,
@@ -86,28 +86,28 @@ function schema_metatag_test_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.mainEntityOfPage'] = array(
-    'class' => 'SchemaMainEntityOfPageBase',
+    'class' => 'SchemaMetatagMainEntityOfPageBase',
     'label' => t('mainEntityOfPage'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.name'] = array(
-    'class' => 'SchemaNameBase',
+    'class' => 'SchemaMetatagNameBase',
     'label' => t('name'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.offer'] = array(
-    'class' => 'SchemaOfferBase',
+    'class' => 'SchemaMetatagOfferBase',
     'label' => t('offer'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.organization'] = array(
-    'class' => 'SchemaPersonOrgBase',
+    'class' => 'SchemaMetatagPersonOrgBase',
     'label' => t('organization'),
     'description' => '',
     'multiple' => TRUE,
@@ -115,14 +115,14 @@ function schema_metatag_test_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.place'] = array(
-    'class' => 'SchemaPlaceBase',
+    'class' => 'SchemaMetatagPlaceBase',
     'label' => t('place'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.url'] = array(
-    'class' => 'SchemaUrlBase',
+    'class' => 'SchemaMetatagUrlBase',
     'label' => t('url'),
     'description' => '',
     'url' => TRUE,
@@ -137,126 +137,126 @@ function schema_metatag_test_metatag_info() {
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.country'] = array(
-    'class' => 'SchemaCountryBase',
+    'class' => 'SchemaMetatagCountryBase',
     'label' => t('country'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.creativeWork'] = array(
-    'class' => 'SchemaCreativeWorkBase',
+    'class' => 'SchemaMetatagCreativeWorkBase',
     'label' => t('creativeWork'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.entryPoint'] = array(
-    'class' => 'SchemaEntryPointBase',
+    'class' => 'SchemaMetatagEntryPointBase',
     'label' => t('entryPoint'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.event'] = array(
-    'class' => 'SchemaEventBase',
+    'class' => 'SchemaMetatagEventBase',
     'label' => t('event'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.hasPart'] = array(
-    'class' => 'SchemaHasPartBase',
+    'class' => 'SchemaMetatagHasPartBase',
     'label' => t('hasPart'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.nutritionInformation'] = array(
-    'class' => 'SchemaNutritionInformationBase',
+    'class' => 'SchemaMetatagNutritionInformationBase',
     'label' => t('nutritionInformation'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.openingHoursSpecification'] = array(
-    'class' => 'SchemaOpeningHoursSpecificationBase',
+    'class' => 'SchemaMetatagOpeningHoursSpecificationBase',
     'label' => t('openingHoursSpecification'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.programMembership'] = array(
-    'class' => 'SchemaProgramMembershipBase',
+    'class' => 'SchemaMetatagProgramMembershipBase',
     'label' => t('programMembership'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.thing'] = array(
-    'class' => 'SchemaThingBase',
+    'class' => 'SchemaMetatagThingBase',
     'label' => t('thing'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.trueFalse'] = array(
-    'class' => 'SchemaTrueFalseBase',
+    'class' => 'SchemaMetatagTrueFalseBase',
     'label' => t('trueFalse'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.monetaryAmount'] = array(
-    'class' => 'SchemaMonetaryAmountBase',
+    'class' => 'SchemaMetatagMonetaryAmountBase',
     'label' => t('monetaryAmount'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.contactPoint'] = array(
-    'class' => 'SchemaContactPointBase',
+    'class' => 'SchemaMetatagContactPointBase',
     'label' => t('contactPoint'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.speakable'] = array(
-    'class' => 'SchemaSpeakableBase',
+    'class' => 'SchemaMetatagSpeakableBase',
     'label' => t('speakable'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.idReference'] = array(
-    'class' => 'SchemaIdReferenceBase',
+    'class' => 'SchemaMetatagIdReferenceBase',
     'label' => t('idReference'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.step'] = array(
-    'class' => 'SchemaHowToStepBase',
+    'class' => 'SchemaMetatagHowToStepBase',
     'label' => t('step'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.question'] = array(
-    'class' => 'SchemaQuestionBase',
+    'class' => 'SchemaMetatagQuestionBase',
     'label' => t('question'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.answer'] = array(
-    'class' => 'SchemaAnswerBase',
+    'class' => 'SchemaMetatagAnswerBase',
     'label' => t('answer'),
     'description' => '',
     'weight' => ++$weight,
   ) + $defaults;
 
   $info['tags']['schema_metatag_test.governmentService'] = array(
-    'class' => 'SchemaGovernmentServiceBase',
+    'class' => 'SchemaMetatagGovernmentServiceBase',
     'label' => t('governmentService'),
     'description' => '',
     'weight' => ++$weight,
diff --git a/tests/schema_metatag_test.module b/tests/schema_metatag_test.module
index 26f03c7..3e64a2a 100644
--- a/tests/schema_metatag_test.module
+++ b/tests/schema_metatag_test.module
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * The schema metatag test module.
+ */
+
 /**
  * Implements hook_ctools_plugin_api().
  */
@@ -18,6 +23,7 @@ function schema_metatag_test_menu() {
   $string = 'moosqueakoinkmeow';
   $defaults = array(
     'page callback' => 'schema_metatag_test_page_callback',
+    // Comment here.
     'access callback' => TRUE,
     'type' => MENU_NORMAL_ITEM,
   );
