Extract scanner class