Support new resque hook syntax