Added ability to scan QR codes.