Use record instead of class for LSP types.
#258
+13
−8
Merged