diff --git a/trademark.module b/trademark.module
index 9a8893a..8ffe7f3 100644
--- a/trademark.module
+++ b/trademark.module
@@ -2,14 +2,20 @@
 
 /**
  * @file
- * Provides an input filter that can automatically wrap &trade;, &reg; and &copy; symbols with superscript HTML tags (&lt;sup&gt;).
+ * Provides an input filter.
+ *
+ * Provides an input filter that can automatically wrap &trade;,
+ * &reg; and &copy; symbols with superscript HTML tags (&lt;sup&gt;).
  */
 
+/**
+ * Implements hook_menu().
+ */
 function trademark_menu() {
   $menu = array(
     'admin/config/content/trademark' => array(
-      'title' => t('Trademark'),
-      'description' => t('Automatically wrap &trade;, &reg; and &copy; symbols with superscript HTML tags (<code>&lt;sup&gt;</code>).'),
+      'title' => 'Trademark',
+      'description' => 'Automatically wrap &trade;, &reg; and &copy; symbols with superscript HTML tags (<code>&lt;sup&gt;</code>).',
       'page callback' => 'drupal_get_form',
       'page arguments' => array('trademark_admin_settings'),
       'access callback' => 'user_access',
@@ -20,16 +26,22 @@ function trademark_menu() {
   return $menu;
 }
 
+/**
+ * Implements hook_permission().
+ */
 function trademark_permission() {
   $permission = array(
     'administer trademark settings' => array(
-      'title' => t('Administer Trademark Settings'), 
+      'title' => t('Administer Trademark Settings'),
       'description' => t('Perform administration configuration tasks for the Trademark module.'),
     ),
   );
   return $permission;
 }
 
+/**
+ * Configuration form.
+ */
 function trademark_admin_settings() {
   $form = array();
 
@@ -51,7 +63,7 @@ function trademark_admin_settings() {
     '#default_value' => variable_get('trademark_trademark', FALSE),
     '#description' => t("By enabling this option, trademark &trade; symbols will be wrapped in a HTML superscript tag (<code>&lt;sup&gt;</code>). By default this option is disabled as the trademark symbol is usually rendered as superscript natively."),
   );
-  
+
   $form['trademark_node_title'] = array(
     '#type' => 'checkbox',
     '#title' => t('Filter Node Titles'),
@@ -61,6 +73,9 @@ function trademark_admin_settings() {
   return system_settings_form($form);
 }
 
+/**
+ * Implements hook_preprocess_page().
+ */
 function trademark_preprocess_page(&$variables) {
   if (variable_get('trademark_node_title', TRUE)) {
     $variables['title'] = _trademark_process(drupal_get_title());
@@ -68,12 +83,17 @@ function trademark_preprocess_page(&$variables) {
 }
 
 /**
- * Implementation of hook_theme().
+ * Implements hook_theme().
  */
 function trademark_theme($existing) {
   return array(
     'views_view_field__title' => array(
-      'variables' => array('view' => NULL, 'field' => NULL, 'row' => NULL, 'output' => NULL),
+      'variables' => array(
+        'view' => NULL,
+        'field' => NULL,
+        'row' => NULL,
+        'output' => NULL,
+      ),
       'original hook' => 'views_view_field',
     ),
   );
@@ -126,7 +146,7 @@ function _trademark_tips($filter, $format, $long = FALSE) {
   }
   if (variable_get('trademark_trademark', FALSE)) {
     $replacements[] = '&trade;';
-  }  
+  }
   if ($long && !empty($replacements)) {
     return t('The following symbols will be wrapped in HTML superscript tags (<code>&lt;sup&gt;</code>): !replacements', array('!replacements' => implode(',', $replacements)));
   }
@@ -154,6 +174,9 @@ function _trademark_process($text, $filter = NULL) {
   }
 }
 
+/**
+ * Replace callback.
+ */
 function _trademark_replace_callback($text) {
   if ($text[1] != '!') {
     $text = '<sup>' . $text[2] . '</sup>';
