Adding prototypes and constructors for Scanner and ScannerIterator