Add support for resque