Refactoring specs.