/**
 * A namespace for utilities related to current route
 * @namespace
 */
CurrentRoute = {};

/**
 * Returns the name of the current route
 * @returns {String}
 */
CurrentRoute.getName = function () {
  return Router.current().route.getName();
};

/**
 * Tests if the name of the current route is equal to the route name supplied.
 * @param {String} routeName
 * @returns {Boolean}
 */
CurrentRoute.is = function (routeName) {
  return Router.current().route.getName() === routeName;
};

/**
 * Returns an array of parameters passed to the current route
 * @returns {Array}
 */
CurrentRoute.params = function () {
  return Router.current().params;
};

@@ -163,30 +163,60 @@
  */%0A
-CurrentRoute.getName =
+Object.defineProperty(CurrentRoute, 'name', %7B%0A  get:
  fun
@@ -218,32 +218,34 @@
 : function () %7B%0A
+  
   return Router.
@@ -271,17 +271,22 @@
 Name();%0A
-%7D
+  %7D%0A%7D)
 ;%0A%0A/**%0A 
@@ -291,112 +291,74 @@
 %0A * 
-Tests if the name of the current route is equal to the route name supplied.%0A * @param %7BString%7D
+Returns an Array containing parameters passed to the current
  route
-Name
 %0A * 
@@ -371,38 +371,73 @@
 ns %7B
-Boolean%7D%0A */%0ACurrentRoute.is =
+Array%7D%0A */%0AObject.defineProperty(CurrentRoute, 'params', %7B%0A  get:
  fun
@@ -447,21 +447,14 @@
 on (
-routeName
 ) %7B%0A
+  
   re
@@ -479,40 +479,22 @@
 t().
-route.getName() === routeName;
+params;%0A  %7D
 %0A%7D
+)
 ;%0A%0A/
@@ -503,66 +503,112 @@
 %0A * 
-Returns an array of parameters passed to the current
+Tests if the name of the current route is equal to the route name supplied.%0A * @param %7BString%7D
  route
+Name
 %0A * 
@@ -613,29 +613,31 @@
 * @returns %7B
-Array
+Boolean
 %7D%0A */%0ACurren
@@ -643,21 +643,17 @@
 ntRoute.
-param
+i
 s = func
@@ -654,24 +654,33 @@
 = function (
+routeName
 ) %7B%0A  return
@@ -697,19 +697,42 @@
 rrent().
-params
+route.getName() === routeName
 ;%0A%7D;%0A

Make .name and .params getters