Traits and partial classes for Ruby