How do I extend the datatype system

He could also just reopen Time and add whatever methods he wants.

struct Time
  def my_method
    self + 10.seconds
  end
end