The changes to this entire file are unrelated to the purpose of the commit and are actually bad ruby style.