Rename asFuture -> asHandler
Adapt to latest core api changes