Object-oriented programming in F#