diff --git a/src/Form/SharethisConfigurationForm.php b/src/Form/SharethisConfigurationForm.php
index 966d145..959961f 100644
--- a/src/Form/SharethisConfigurationForm.php
+++ b/src/Form/SharethisConfigurationForm.php
@@ -101,12 +101,7 @@ class SharethisConfigurationForm extends ConfigFormBase {
     $config = $this->config('sharethis.settings');
 
     $current_options_array = $this->sharethisManager->getOptions();
-    // Create the variables related to widget choice.
-    $widget_type = $current_options_array['widget'];
-    $widget_markup = "";
-    if ($widget_type == "st_multi") {
-      $widget_markup = "st_multi";
-    }
+
     // Create the variables related to button choice.
     $button_choice = $current_options_array['buttons'];
     // Create the variables related to services chosen.
@@ -139,7 +134,7 @@ class SharethisConfigurationForm extends ConfigFormBase {
       ),
       '#default_value' => $button_choice,
       '#title' => t("Choose a button style:"),
-      '#prefix' => '<div class="st_widgetContain"><div class="st_spriteCover"><img id="stb_sprite" class="st_buttonSelectSprite ' . $button_choice . '" src="' . $base_url . '/' . $my_path . '/img/preview_sprite.png"></img></div><div class="st_widgetPic"><img class="st_buttonSelectImage" src="' . $base_url . '/' . $my_path . '/img/preview_bg.png" /></div>',
+      '#prefix' => '<div class="st_widgetContain"><div class="st_spriteCover"><img id="stb_sprite" class="st_buttonSelectSprite ' . $button_choice . '" src="' . $base_url . '/' . $my_path . '/img/preview_sprite.png" /></div><div class="st_widgetPic"><img class="st_buttonSelectImage" src="' . $base_url . '/' . $my_path . '/img/preview_bg.png" /></div>',
       '#suffix' => '</div>',
     );
     $form['options']['service_option'] = array(
@@ -215,7 +210,6 @@ class SharethisConfigurationForm extends ConfigFormBase {
       $modes[$mode] = $mode_info['label'];
     }
     // Get a list of content types and view modes.
-    $view_modes_selected = $current_options_array['view_modes'];
     foreach ($entity_bundles as $bundle => $bundle_info) {
       $form['context']['links'][$bundle . '_options'] = array(
         '#title' => t('%label View Modes', array('%label' => $bundle_info['label'])),
diff --git a/src/Plugin/Block/SharethisWidgetBlock.php b/src/Plugin/Block/SharethisWidgetBlock.php
index 09531e5..de10279 100644
--- a/src/Plugin/Block/SharethisWidgetBlock.php
+++ b/src/Plugin/Block/SharethisWidgetBlock.php
@@ -87,7 +87,6 @@ class SharethisWidgetBlock extends BlockBase implements ContainerFactoryPluginIn
    * {@inheritdoc}
    */
   public function blockForm($form, FormStateInterface $form_state) {
-    $form_values = $form_state->getUserInput();
     $description = $this->t('Variable - Different per URL');
     $description .= '<br />';
     $description .= $this->t('External - Useful in iframes (Facebook Tabs, etc.)');
diff --git a/src/SharethisManagerInterface.php b/src/SharethisManagerInterface.php
index 2f2be2d..ac1046c 100644
--- a/src/SharethisManagerInterface.php
+++ b/src/SharethisManagerInterface.php
@@ -68,11 +68,11 @@ interface SharethisManagerInterface {
    * Custom html block.
    *
    * @param array $array
-   * @param string $string
+   * @param string $title
    * @param string $string
    *
    * @return array
    */
-  public function renderSpans($array, $string, $string);
+  public function renderSpans($array, $title, $string);
 
 }
