Added ability to pass raw strings to be scanned via API