diff --git a/uc_attribute/lib/Drupal/uc_attribute/Form/AttributeOptionsForm.php b/uc_attribute/lib/Drupal/uc_attribute/Form/AttributeOptionsForm.php
index bcc3830..e8bc074 100644
--- a/uc_attribute/lib/Drupal/uc_attribute/Form/AttributeOptionsForm.php
+++ b/uc_attribute/lib/Drupal/uc_attribute/Form/AttributeOptionsForm.php
@@ -29,44 +29,65 @@ class AttributeOptionsForm extends FormBase {
 
     drupal_set_title(t('Options for %name', array('%name' => $attribute->name)), PASS_THROUGH);
 
-    $form['options'] = array();
-    foreach ($attribute->options as $key => $data) {
-      $form['options'][$key] = array(
-        'name' => array(
-          '#markup' => check_plain($data->name),
-        ),
-        'cost' => array(
-          '#theme' => 'uc_price',
-          '#price' => $data->cost,
-        ),
-        'price' => array(
-          '#theme' => 'uc_price',
-          '#price' => $data->price,
-        ),
-        'weight' => array(
-          '#markup' => (string)$data->weight,
-        ),
-        'ordering' => array(
-          '#type' => 'weight',
-          '#delta' => 50,
-          '#default_value' => $data->ordering,
-          '#attributes' => array('class' => array('uc-attribute-option-table-ordering')),
+    $form['options'] = array(
+      '#type' => 'table',
+      '#header' => array(
+        $this->t('Name'),
+        $this->t('Default cost'),
+        $this->t('Default price'),
+        $this->t('Default weight'),
+        array('data' => $this->t('List position'), 'sort' => 'asc'),
+        $this->t('Operations'),
+      ),
+      '#empty' => $this->t('No options for this attribute have been added yet.'),
+      '#tabledrag' => array(
+        array('order', 'sibling', 'uc-attribute-option-table-ordering'),
+      ),
+    );
+
+    foreach ($attribute->options as $oid => $option) {
+      $form['options'][$oid]['#attributes']['class'][] = 'draggable';
+      $form['options'][$oid]['name'] = array(
+        '#markup' => check_plain($option->name),
+      );
+      $form['options'][$oid]['cost'] = array(
+        '#theme' => 'uc_price',
+        '#price' => $option->cost,
+      );
+      $form['options'][$oid]['price'] = array(
+        '#theme' => 'uc_price',
+        '#price' => $option->price,
+      );
+      $form['options'][$oid]['weight'] = array(
+        '#markup' => (string)$option->weight,
+      );
+      $form['options'][$oid]['ordering'] = array(
+        '#type' => 'weight',
+        '#title' => $this->t('List position'),
+        '#title_display' => 'invisible',
+        '#default_value' => $option->ordering,
+        '#attributes' => array('class' => array('uc-attribute-option-table-ordering')),
+      );
+      $form['options'][$oid]['operations'] = array(
+        '#type' => 'operations',
+        '#links' => array(
+          'edit' => array(
+            'title' => $this->t('Edit'),
+            'href' => 'admin/store/products/attributes/' . $attribute->aid . '/options/' . $oid . '/edit',
+          ),
+          'delete' => array(
+            'title' => $this->t('Delete'),
+            'href' => 'admin/store/products/attributes/' . $attribute->aid . '/options/' . $oid . '/delete',
+          ),
         ),
-        'edit' => array('#markup' => l(t('edit'), 'admin/store/products/attributes/' . $attribute->aid . '/options/' . $key . '/edit')),
-        'delete' => array('#markup' => l(t('delete'), 'admin/store/products/attributes/' . $attribute->aid . '/options/' . $key . '/delete')),
       );
     }
 
-    if (count($form['options'])) {
-      $form['options']['#tree'] = TRUE;
-
-      $form['actions'] = array('#type' => 'actions');
-      $form['actions']['submit'] = array(
-        '#type' => 'submit',
-        '#value' => t('Save changes'),
-        '#weight' => 10,
-      );
-    }
+    $form['actions'] = array('#type' => 'actions');
+    $form['actions']['submit'] = array(
+      '#type' => 'submit',
+      '#value' => t('Save changes'),
+    );
 
     return $form;
   }
diff --git a/uc_attribute/lib/Drupal/uc_attribute/Form/ObjectAttributesAddFormBase.php b/uc_attribute/lib/Drupal/uc_attribute/Form/ObjectAttributesAddFormBase.php
index 8413fa9..1150912 100644
--- a/uc_attribute/lib/Drupal/uc_attribute/Form/ObjectAttributesAddFormBase.php
+++ b/uc_attribute/lib/Drupal/uc_attribute/Form/ObjectAttributesAddFormBase.php
@@ -38,7 +38,7 @@ abstract class ObjectAttributesAddFormBase extends FormBase {
    * {@inheritdoc}
    */
   public function getFormId() {
-    return 'uc_object_attributes_form';
+    return 'uc_object_attributes_add_form';
   }
 
   /**
@@ -70,12 +70,6 @@ abstract class ObjectAttributesAddFormBase extends FormBase {
       '#value' => t('Add attributes'),
     );
 
-    // @todo Remove when theme_uc_object_attributes_form is removed or refactored.
-    $form['view'] = array(
-      '#type' => 'value',
-      '#value' => 'add',
-    );
-
     return $form;
   }
 
diff --git a/uc_attribute/lib/Drupal/uc_attribute/Form/ObjectAttributesFormBase.php b/uc_attribute/lib/Drupal/uc_attribute/Form/ObjectAttributesFormBase.php
index d02d752..5054841 100644
--- a/uc_attribute/lib/Drupal/uc_attribute/Form/ObjectAttributesFormBase.php
+++ b/uc_attribute/lib/Drupal/uc_attribute/Form/ObjectAttributesFormBase.php
@@ -47,52 +47,63 @@ abstract class ObjectAttributesFormBase extends FormBase {
   public function buildForm(array $form, array &$form_state, $attributes = NULL) {
     $form['#tree'] = TRUE;
 
-    $form['attributes'] = array();
+    $form['attributes'] = array(
+      '#type' => 'table',
+      '#header' => array(
+        $this->t('Remove'),
+        $this->t('Name'),
+        $this->t('Label'),
+        $this->t('Default'),
+        $this->t('Required'),
+        $this->t('List position'),
+        $this->t('Display'),
+      ),
+      '#empty' => $this->t('No attributes available.'),
+      '#tabledrag' => array(
+        array('order', 'sibling', 'uc-attribute-table-ordering'),
+      ),
+    );
 
-    foreach ($attributes as $attribute) {
+    foreach ($attributes as $aid => $attribute) {
       $option = isset($attribute->options[$attribute->default_option]) ? $attribute->options[$attribute->default_option] : NULL;
-
-      $form['attributes'][$attribute->aid] = array(
-        'remove' => array(
-          '#type' => 'checkbox',
-          '#title' => t('Remove'),
-          '#title_display' => 'invisible',
-          '#default_value' => 0,
-        ),
-        'name' => array(
-          '#markup' => check_plain($attribute->name),
-        ),
-        'label' => array(
-          '#type' => 'textfield',
-          '#title' => t('Label'),
-          '#title_display' => 'invisible',
-          '#default_value' => empty($attribute->label) ? $attribute->name : $attribute->label,
-          '#size' => 20,
-        ),
-        'option' => array(
-          '#markup' => $option ? (check_plain($option->name) . ' (' . theme('uc_price', array('price' => $option->price)) . ')' ) : t('n/a'),
-        ),
-        'required' => array(
-          '#type' => 'checkbox',
-          '#title' => t('Required'),
-          '#title_display' => 'invisible',
-          '#default_value' => $attribute->required,
-        ),
-        'ordering' => array(
-          '#type' => 'weight',
-          '#title' => t('List position'),
-          '#title_display' => 'invisible',
-          '#delta' => 25,
-          '#default_value' => $attribute->ordering,
-          '#attributes' => array('class' => array('uc-attribute-table-ordering')),
-        ),
-        'display' => array(
-          '#type' => 'select',
-          '#title' => t('Display'),
-          '#title_display' => 'invisible',
-          '#default_value' => $attribute->display,
-          '#options' => _uc_attribute_display_types(),
-        ),
+      $form['attributes'][$aid]['#attributes']['class'][] = 'draggable';
+      $form['attributes'][$aid]['remove'] = array(
+        '#type' => 'checkbox',
+        '#title' => $this->t('Remove'),
+        '#title_display' => 'invisible',
+      );
+      $form['attributes'][$aid]['name'] = array(
+        '#markup' => check_plain($attribute->name),
+      );
+      $form['attributes'][$aid]['label'] = array(
+        '#type' => 'textfield',
+        '#title' => $this->t('Label'),
+        '#title_display' => 'invisible',
+        '#default_value' => empty($attribute->label) ? $attribute->name : $attribute->label,
+        '#size' => 20,
+      );
+      $form['attributes'][$aid]['option'] = array(
+        '#markup' => $option ? (check_plain($option->name) . ' (' . theme('uc_price', array('price' => $option->price)) . ')' ) : t('n/a'),
+      );
+      $form['attributes'][$aid]['required'] = array(
+        '#type' => 'checkbox',
+        '#title' => $this->t('Required'),
+        '#title_display' => 'invisible',
+        '#default_value' => $attribute->required,
+      );
+      $form['attributes'][$aid]['ordering'] = array(
+        '#type' => 'weight',
+        '#title' => $this->t('List position'),
+        '#title_display' => 'invisible',
+        '#default_value' => $attribute->ordering,
+        '#attributes' => array('class' => array('uc-attribute-table-ordering')),
+      );
+      $form['attributes'][$aid]['display'] = array(
+        '#type' => 'select',
+        '#title' => $this->t('Display'),
+        '#title_display' => 'invisible',
+        '#default_value' => $attribute->display,
+        '#options' => _uc_attribute_display_types(),
       );
     }
 
@@ -102,12 +113,6 @@ abstract class ObjectAttributesFormBase extends FormBase {
       '#value' => t('Save changes'),
     );
 
-    // @todo Remove when theme_uc_object_attributes_form is removed or refactored.
-    $form['view'] = array(
-      '#type' => 'value',
-      '#value' => 'overview',
-    );
-
     return $form;
   }
 
diff --git a/uc_attribute/uc_attribute.admin.inc b/uc_attribute/uc_attribute.admin.inc
index 6510e0d..c5c02c6 100644
--- a/uc_attribute/uc_attribute.admin.inc
+++ b/uc_attribute/uc_attribute.admin.inc
@@ -6,104 +6,6 @@
  */
 
 /**
- * Formats an attribute and its options.
- *
- * @param $variables
- *   An associative array containing:
- *   - form: A render element representing the form.
- *
- * @ingroup themeable
- */
-function theme_uc_attribute_options_form($variables) {
-  $form = $variables['form'];
-
-  $header = array(t('Name'), t('Default cost'), t('Default price'), t('Default weight'), array('data' => t('List position'), 'sort' => 'asc'), array('data' => t('Operations'), 'colspan' => 2));
-
-  $rows = array();
-  foreach (element_children($form['options']) as $oid) {
-    $rows[] = array(
-      'data' => array(
-        drupal_render($form['options'][$oid]['name']),
-        drupal_render($form['options'][$oid]['cost']),
-        drupal_render($form['options'][$oid]['price']),
-        drupal_render($form['options'][$oid]['weight']),
-        drupal_render($form['options'][$oid]['ordering']),
-        drupal_render($form['options'][$oid]['edit']),
-        drupal_render($form['options'][$oid]['delete']),
-      ),
-      'class' => array('draggable'),
-    );
-  }
-
-  drupal_add_tabledrag('uc-attribute-option-table', 'order', 'sibling', 'uc-attribute-option-table-ordering');
-
-  $output = theme('table', array(
-    'header' => $header,
-    'rows' => $rows,
-    'attributes' => array('id' => 'uc-attribute-option-table'),
-    'empty' => t('No options for this attribute have been added yet.'),
-  ));
-
-  $output .= drupal_render_children($form);
-
-  return $output;
-}
-
-/**
- * Displays the formatted attribute form.
- *
- * @param $variables
- *   An associative array containing:
- *   - form: A render element representing the form.
- *
- * @see uc_object_attributes_form()
- * @ingroup themeable
- */
-function theme_uc_object_attributes_form($variables) {
-  $form = $variables['form'];
-
-  $output = '';
-
-  if ($form['view']['#value'] == 'overview') {
-    $header = array(t('Remove'), t('Name'), t('Label'), t('Default'), t('Required'), t('List position'), t('Display'));
-
-    $rows = array();
-    foreach (element_children($form['attributes']) as $aid) {
-      $rows[] = array(
-        'data' => array(
-          drupal_render($form['attributes'][$aid]['remove']),
-          drupal_render($form['attributes'][$aid]['name']),
-          drupal_render($form['attributes'][$aid]['label']),
-          drupal_render($form['attributes'][$aid]['option']),
-          drupal_render($form['attributes'][$aid]['required']),
-          drupal_render($form['attributes'][$aid]['ordering']),
-          drupal_render($form['attributes'][$aid]['display']),
-        ),
-        'class' => array('draggable'),
-      );
-    }
-
-    drupal_add_tabledrag('uc-attribute-table', 'order', 'sibling', 'uc-attribute-table-ordering');
-
-    $output = theme('table', array(
-      'header' => $header,
-      'rows' => $rows,
-      'attributes' => array('id' => 'uc-attribute-table'),
-      'empty' => t('No attributes available.'),
-    ));
-  }
-  else {
-    $output = '<div class="uc-attributes-add-link">';
-    $output .= t('You may add more attributes <a href="!url">here</a>.', array('!url' => url('admin/store/products/attributes/add')));
-    $output .= '</div>';
-  }
-
-  $output .= drupal_render_children($form);
-
-  return $output;
-}
-
-/**
  * Displays the option form.
  *
  * @param $variables
diff --git a/uc_attribute/uc_attribute.local_actions.yml b/uc_attribute/uc_attribute.local_actions.yml
index 327c26b..ddf9ff5 100644
--- a/uc_attribute/uc_attribute.local_actions.yml
+++ b/uc_attribute/uc_attribute.local_actions.yml
@@ -1,23 +1,25 @@
 uc_attribute_add:
   route_name: uc_attribute.add
-  title: 'Add an attribute'
+  title: 'Add new attribute'
   appears_on:
     - uc_attribute.overview
+    - uc_attribute.product_class_attributes
+    - uc_attribute.product_attributes
 
 uc_attribute_option_add:
   route_name: uc_attribute.option_add
-  title: 'Add an option'
+  title: 'Add new option'
   appears_on:
     - uc_attribute.options
 
 uc_attribute_product_class_attributes_add:
   route_name: uc_attribute.product_class_attributes_add
-  title: 'Add an attribute'
+  title: 'Add existing attribute'
   appears_on:
     - uc_attribute.product_class_attributes
 
 uc_attribute_product_attributes_add:
   route_name: uc_attribute.product_attributes_add
-  title: 'Add an attribute'
+  title: 'Add existing attribute'
   appears_on:
     - uc_attribute.product_attributes
diff --git a/uc_attribute/uc_attribute.module b/uc_attribute/uc_attribute.module
index 79194e3..06a939e 100644
--- a/uc_attribute/uc_attribute.module
+++ b/uc_attribute/uc_attribute.module
@@ -101,18 +101,10 @@ function uc_attribute_theme() {
       'render element' => 'form',
       'file' => 'uc_attribute.theme.inc',
     ),
-    'uc_object_attributes_form' => array(
-      'render element' => 'form',
-      'file' => 'uc_attribute.admin.inc',
-    ),
     'uc_object_options_form' => array(
       'render element' => 'form',
       'file' => 'uc_attribute.admin.inc',
     ),
-    'uc_attribute_options_form' => array(
-      'render element' => 'form',
-      'file' => 'uc_attribute.admin.inc',
-    ),
     'uc_product_attributes' => array(
       'render element' => 'attributes',
       'file' => 'uc_attribute.admin.inc',
