I think that `Array#reject!` is only available on Ruby 1.9+, this might need to be replaced with `Array#delete_if`