Adding in missing scan functions
Starting to pull out readRootPage