Attempt to extend the scanner. Commented out due to a bug.