diff --git a/comment.tpl.php b/comment.tpl.php
index 099f449..f028e39 100644
--- a/comment.tpl.php
+++ b/comment.tpl.php
@@ -25,13 +25,12 @@
     <?php print render($title_prefix); ?>
     <h3<?php print $title_attributes; ?>><?php print $title; ?></h3>
     <?php print render($title_suffix); ?>
-    
+
     <span class="submitted"><?php print $submitted; ?></span>
 </header>
 
     <div class="content"<?php print $content_attributes; ?>>
-      <?php 
-
+      <?php
         print render($content); ?>
       <?php if ($signature): ?>
       <footer class="clearfix">
diff --git a/ie6.css b/ie6.css
index 388e895..c40748e 100644
--- a/ie6.css
+++ b/ie6.css
@@ -2,7 +2,7 @@
  * @ie6.css
  * Styles if IE6 for Simple Clean Theme.
  */
- 
+
 #search .form-text {
   background-color: #eeeeee;
   border: 0;
diff --git a/style.css b/style.css
index f8ddb9b..fa5523b 100644
--- a/style.css
+++ b/style.css
@@ -16,7 +16,7 @@ body {
 /**
  * HTML5 display-role reset for older browsers
  */
- 
+
 article, 
 aside, 
 details, 
@@ -55,7 +55,7 @@ li a.active:hover {
 /**
  * Wrap
  */
- 
+
 #wrap {
   margin: 0 auto;
   width: 960px;
@@ -159,7 +159,7 @@ input[type="search"]::-webkit-search-results-decoration {
 /**
  * Headings
  */
- 
+
 h1, 
 h2.comments,
 #comments h2.title {
@@ -185,7 +185,7 @@ h2 a {
 /**
  * Navigation
  */
- 
+
 #nav {
   padding: 30px 0 40px 0;
 }
@@ -318,7 +318,7 @@ h2 a {
 /**
  * Sidebar
  */
- 
+
 #sidebar {
   float: right;
   width: 260px;
@@ -377,7 +377,7 @@ h2 a {
 /**
  * Highlight
  */
- 
+
 #highlighted {
   width: 960px;
   margin: 16px 0;
@@ -386,7 +386,7 @@ h2 a {
 /**
  * Main content
  */
- 
+
 #content{
   float: left;
   width: 610px;
@@ -756,7 +756,7 @@ a.feed-icon {
 /**
  * Poll
  */
- 
+
 .block-poll {
   margin: 30px 0 0 0;
 }
@@ -802,7 +802,7 @@ a.feed-icon {
 /**
  * User
  */
- 
+
 .block-user .item-list ul {
   margin: 20px 0 0 0;
   padding: 0;
@@ -935,11 +935,11 @@ body #admin-menu li.admin-menu-icon {
   -webkit-box-shadow:-1px -1px 2px #555555;
   box-shadow:-1px -1px 2px #555555;
 }
-  
+
 .field-name-field-tags .field-item a:hover,
 #block-menu-menu-tags ul.menu li a:hover { 
   background: #808080;
-}  
+} 
 .field-name-field-tags .field-item a:hover:before,
 #block-menu-menu-tags ul.menu li a:hover:before {
   border-color: transparent #808080 transparent transparent;
@@ -961,10 +961,6 @@ body #admin-menu li.admin-menu-icon {
 /**
  * Extra
  */
- 
-.clear {
-  clear: both;
-}
 
 .form-required {
   color: #888888;
diff --git a/template.php b/template.php
index 418c031..b21f91e 100644
--- a/template.php
+++ b/template.php
@@ -2,14 +2,15 @@
 
 /**
  * @file
- * Contains theme preprocess functions
+ * Contains theme preprocess functions.
  */
  
  /**
+  * Implements hook_preprocess_html().
   * Override or insert variables into the html template.
   */
 function simpleclean_preprocess_html(&$vars) {
-  // Uses RDFa attributes if the RDF module is enabled
+  // Uses RDFa attributes if the RDF module is enabled.
   if (module_exists('rdf')) {
     $vars['doctype'] = '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML+RDFa 1.1//EN">' . "\n";
     $vars['rdf']->version = 'version="HTML+RDFa 1.1"';
@@ -22,12 +23,15 @@ function simpleclean_preprocess_html(&$vars) {
     $vars['rdf']->namespaces = '';
     $vars['rdf']->profile = '';
   }
-  
+
   // Add conditional CSS for IE6.
   drupal_add_css(path_to_theme() . '/ie6.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lt IE 7', '!IE' => FALSE), 'preprocess' => FALSE));
 }
 
-// Purge XHTML
+/**
+ * Implements hook_preprocess_html_tag().
+ * Purge XHTML.
+ */
 function simpleclean_process_html_tag(&$vars) {
   $el = &$vars['element'];
   // Remove type="..." and CDATA prefix/suffix.
@@ -40,26 +44,28 @@ function simpleclean_process_html_tag(&$vars) {
 }
 
 /**
- * Changes the default meta content-type tag to the shorter HTML5 version
+ * Implements hook_preprocess_htm_alterl().
+ * Changes the default meta content-type tag to the shorter HTML5 version.
  */
 function simpleclean_html_head_alter(&$head_elements) {
   $head_elements['system_meta_content_type']['#attributes'] = array(
     'charset' => 'utf-8'
   );
   
-  // Remove Drupal 7 generator tag
+  // Remove Drupal 7 generator tag.
   // unset($head_elements['system_meta_generator']);
 }
 
 /**
- * Changes the search block form to use the HTML5 "search" input attribute
+ * Implements hook_preprocess_search_block_form().
+ * Changes the search block form to use the HTML5 "search" input attribute.
  */
-
 function simpleclean_preprocess_search_block_form(&$vars) {
   $vars['search_form'] = str_replace('type="text"', 'type="search"', $vars['search_form']);
 }
 
 /** 
+ * Implements hook_form_alter().
  * Add placeholder to the search block form
  */
 function simpleclean_form_alter(&$form, &$form_state, $form_id) {
@@ -68,7 +74,10 @@ function simpleclean_form_alter(&$form, &$form_state, $form_id) {
   }
 }
 
-// Minify HTML output and remove closing slashes
+/** 
+ * Implements hook_process_html().
+ * Minify HTML output and remove closing slashes.
+ */
 function simpleclean_process_html(&$vars) {
   $before = array(
     "/\s\/>/",
@@ -81,12 +90,12 @@ function simpleclean_process_html(&$vars) {
 
   $after = array('>', '> ', ' <', '> <', ' ', ' ');
 
-  // Head
+  // Head.
   $head = $vars['head'];
   $head = preg_replace("/\s\/>/", ">", $head);
   $vars['head'] = $head;
   
-  // Styles
+  // Styles.
   $styles = $vars['styles'];
   $styles = preg_replace("/\s\/>/", ">", $styles);
   $vars['styles'] = $styles;
@@ -110,7 +119,8 @@ function simpleclean_process_html(&$vars) {
 }
 
 /**
- * Format submitted by in articles
+ * Implements hook_process_node().
+ * Format submitted by in articles.
  */
 function simpleclean_preprocess_node(&$vars) {
   $node = $vars['node'];
@@ -120,8 +130,8 @@ function simpleclean_preprocess_node(&$vars) {
     $vars['display_submitted'] = TRUE;
     $vars['submitted'] = t('By @username on !datetime', array('@username' => $node->name, '!datetime' => $vars['date']));
     $vars['user_picture'] = theme_get_setting('toggle_node_user_picture') ? theme('user_picture', array('account' => $node)) : '';
-    
-    // Add a footer for post
+
+    // Add a footer for post.
     $account = user_load($vars['node']->uid);
     $vars['simpleclean_postfooter'] = '';
     if (!empty($account->signature)) {  
@@ -137,17 +147,16 @@ function simpleclean_preprocess_node(&$vars) {
     $vars['submitted'] = '';
     $vars['user_picture'] = '';
   }
-  
-  // Remove Add new comment from teasers on frontpage
-  
+
+  // Remove Add new comment from teasers on frontpage.
   if ($vars['is_front']) {
     unset($vars['content']['links']['comment']['#links']['comment-add']);
     unset($vars['content']['links']['comment']['#links']['comment_forbidden']);
   }
-  
 }
 
 /**
+ * Implements hook_process_comment().
  * Format submitted by in comments
  */
 function simpleclean_preprocess_comment(&$vars) {
@@ -159,57 +168,66 @@ function simpleclean_preprocess_comment(&$vars) {
 }
 
 /**
- * Change button to Post instead of Save
+ * Implements hook_form_comment_alter().
+ * Change button to Post instead of Save.
  */
 function simpleclean_form_comment_form_alter(&$form, &$form_state, &$form_id) {
  $form['actions']['submit']['#value'] = t('Post');
  $form['comment_body']['#after_build'][] = 'configure_comment_form'; 
 }
 
+/**
+ * Remove the format changer.
+ */
 function configure_comment_form(&$form) {
   $form['und'][0]['format']['#access'] = FALSE;
   return $form;
 }
 
+/**
+ * Implements hook_css_alter().
+ */
 function simpleclean_css_alter(&$css) {
 
   // Sort CSS items, so that they appear in the correct order.
   // This is taken from drupal_get_css().
   uasort($css, 'drupal_sort_css_js');
 
-  // The Print style sheets
-  // I will populate this array with the print css (usually I have only one but just in case…)
+  // The Print style sheets.
+  // I will populate this array with the print css (usually I have only one but just in case.).
   $print = array();
 
-  // I will add some weight to the new $css array so every element keeps its position
+  // I will add some weight to the new $css array so every element keeps its position.
   $weight = 0;
 
   foreach ($css as $name => $style) {
 
     // I leave untouched the conditional stylesheets
-    // and put all the rest inside a 0 group
+    // and put all the rest inside a 0 group.
     if ($css[$name]['browsers']['!IE']) {
       $css[$name]['group'] = 0;
       $css[$name]['weight'] = ++$weight;
       $css[$name]['every_page'] = TRUE;
     }
 
-    // I move all the print style sheets to a new array
+    // I move all the print style sheets to a new array.
     if ($css[$name]['media'] == 'print') {
-      // remove and add to a new array
+      // Remove and add to a new array.
       $print[$name] = $css[$name];
       unset($css[$name]);
     }
 
   }
  
-  // I merge the regular array and the print array
+  // I merge the regular array and the print array.
   $css = array_merge($css, $print);
 
 }
 
+/**
+ * Implements hook_js_alter().
+ */
 function simpleclean_js_alter(&$js) {
-
   // Sort JS items, so that they appear in the correct order.
   uasort($js, 'drupal_sort_css_js');
 
@@ -220,11 +238,10 @@ function simpleclean_js_alter(&$js) {
     $js[$name]['weight'] = ++$weight;
     $js[$name]['every_page'] = 1;
   }
-  
-  // Move jquery settings to footer
+
+  // Move jquery settings to footer.
   $js['settings']['scope'] = 'footer';
 
-  // Merge the array for one js file 
+  // Merge the array for one js file.
   $js = array_merge($js);
-
 }
\ No newline at end of file
