Altered return handler interface, added priority support to Dispatcher