     # for matching this API. Please consult with a `Crossroads`
     # package for information on the mask, which can be string
     # or a regular expression. Also, please see implementation.
-    this.define = this.api = (method, mask, ximplement) ->
+    this.define = this.api = (method, mask, implement) ->
         wrongMask = "a mask has to be string or regex"
         noImplement = "no implementation fn supplied"
         invalidMeth = "an HTTP method is not a string"
-        implement = _.find(arguments, _.isFunction)
         maskStr = _.isString(mask or null) or false
         maskReg = _.isRegExp(mask or null) or false
         assert previous = @definitions or new Array()

        assert mw = @constructor.middleware().bind this
        signature = [request, response, variables...]
        message = "Executing Crossroads routing in %s"
        intake = (func) => downstream processing: func
        go = (fn) => usp = intake fn; usp signature...
        go => mw(signature) (error, results, misc) =>
            assert expanded = _.clone variables or []

    # This implementation sets up the internals of the API service
    # that will allow to properly expose and execute the methods.
    register: (kernel, router, next) ->
        noted = "Setting up %s Crossroads routes in %s"
        invalidDefs = "invalid type of the definitions"
        emptyDoc = "the document sequence is not emptied"
        noCrossr = "unable to load a Crossroads library"
        noInh = "cannot be inherited from both toolkits"
        createRouteWrapper = @createRouteWrapper.bind this
        try identify = @constructor.identify().underline
        assert not (try this.objectOf Screenplay), noInh
        assert crs = @crossroads = crossroads.create()
