Fix rspec hook bugs I created.