Refactor specs.