Renamed RawPage.getType to getNamespace
Fixed a few broken tests.