Add a few methods in Ruby