Clean up a bunch of ruby warnings