Fix rspec hooks.