@expose
def say_hi(self, identifier):
    d = defer.Deferred()
    d.callback(('hello, %s' % identifier))
    return d
@expose
def say_hi(self, identifier):
    d = defer.Deferred()
    d.callback(('hello, %s' % identifier))
    return d