Fix the broken spec tests.