Added support for ResultHandlers