Fixed #4: Added generic parameters to TraitMethod model.