Migrated base classes plus test cases.