Made it Ruby 1.9 compatible.