Type classes for F#.