Refactoring spec.