 # Freely distributable under the MIT license.  
 # For all details and documentation:  
 # <http://neocotic.com/template>
+
+# Private classes
+# ---------------
+
+# `Class` makes for more readable logs etc. as it overrides `toString` to
+# output the name of the implementing class.
+class Class
+
+  # Override the default `toString` implementation to provide a cleaner output.
+  toString: ->
+    @constructor.name
 
 # Private variables
 # -----------------

  url: ->
    chrome.extension.getURL arguments...

# `Runner` allows asynchronous code to be executed dependently in an
# organized manner.
class utils.Runner

  # Create a new instance of `Runner`.
  constructor: ->

# Utilities setup
# ---------------

utils = window.utils = new class Utils extends Class

  # Public functions
  # ----------------
