use latest constantize implementation from resque