     notificationduration:  notifications.duration * .001
     offline:               not navigator.onLine
     # Deprecated since 0.1.0.2, use `originalurl` instead.
-    originalsource:        ->
-      @originalurl
+    originalsource:        -> @originalurl
     originaltitle:         tab.title or url.attr 'source'
     originalurl:           tab.url
     os:                    operatingSystem
-    param:                 ->
-      (text, render) ->
-        url.param(render text) ? ''
+    param:                 rendered (text) ->
+      url.param text
     params:                nullIfEmpty url.param()
     plugins:               _.chain(navigator.plugins).pluck('name').uniq().value()
     popular:               $.extend yes, {}, _.findWhere ext.templates, key: stats.popular
     screenheight:          screen.height
     screenwidth:           screen.width
-    segment:               ->
-      (text, render) ->
-        url.segment(parseInt render(text), 10) ? ''
+    segment:               rendered (text) ->
+      url.segment parseInt text, 10
     segments:              url.segment()
     select:                ->
       getCallback 'select'

  # Route message as if it was sent internally.
  onMessage message, sender, sendResponse

# Attempt to select a tab in the current window displaying a page whose location begins with
# `url`.  
# If no existing tab exists a new one is created.

  # modified version of [mustache.js](https://github.com/janl/mustache.js).
  $.extend data, url.attr(),
    # Deprecated since 1.2.5, use `linkstarget` instead.
    anchortarget:          -> @linkstarget
    # Deprecated since 1.2.5, use `linkstitle` instead.
    anchortitle:           -> @linkstitle
    bitly:                 bitly.enabled
    bitlyaccount:          ->
      _.findWhere(SHORTENERS, name: 'bitly').oauth.hasAccessToken()
    browser:               browser.title
    browserversion:        browser.version
    capitalise:            -> do @capitalize
    capitalize:            rendered (text) ->
      utils.capitalize text
    # Deprecated since 1.0.0, use `menu` instead.
    contextmenu:           -> @menu
    cookiesenabled:        navigator.cookieEnabled
    count:                 stats.count
    customcount:           stats.customCount
    datetime:              rendered (text) ->
      new Date().format if text then text
    decode:                rendered (text) ->
      decodeURIComponent text
    depth:                 screen.colorDepth
    # Deprecated since 1.0.0, use `linkstarget` instead.
    doanchortarget:        -> @linkstarget
    # Deprecated since 1.0.0, use `linkstitle` instead.
    doanchortitle:         -> @linkstitle
    encode:                rendered (text) ->
      encodeURIComponent text
    # Deprecated since 0.1.0.2, use `encode` instead.
    encoded:               ->
      encodeURIComponent @url
    escape:                rendered (text) ->
      _.escape text
    favicon:               ctab.favIconUrl
    fparam:                rendered (text) ->
      url.fparam text
    fparams:               nullIfEmpty url.fparam()
    fsegment:              rendered (text) ->
      url.fsegment parseInt text, 10
    fsegments:             url.fsegment()
    googl:                 googl.enabled
    googlaccount:          ->
      _.findWhere(SHORTENERS, name: 'googl').oauth.hasAccessToken()
    # Deprecated since 1.0.0, use `googlaccount` instead.
    googloauth:            -> do @googlaccount
    java:                  navigator.javaEnabled()
    length:                rendered (text) ->
      text.length
    linkmarkdown:          ->
      toMarkdown @linkhtml
    linkstarget:           links.target
    linkstitle:            links.title
    lowercase:             rendered (text) ->
      text.toLowerCase()
    markdowninline:        markdown.inline
    menu:                  menu.enabled
    menuoptions:           menu.options
