Syntax fixes for more antiquated versions of Ruby