Clean up deprecated rspec methods.