Getting rid of all the warnings

I ran `bin/rspec spec -w` and was surprised to see so many warnings.
Fixed all the warnings with this commit. There should be no warnings
going forward.