Added a method to attach "Node-style" callbacks as handlers.

This makes integrating with callback users easier.