Fixed various ruby -wc warnings.