Fix method redefinition warnings.

Fixes a few method redefinition warnings seen when running rspec-mocks's specs.