Replace method not used by rspec 2.14.1.