Adds support for to_errback