Fix broken registration spec