Replace #append with #<< to avoid because it's Ruby 2.0 only.