Warnings

Fixing several ruby-level :warning:s.