``` class type _rect = object method height : int [@set] method width : int [@set] method draw : unit -> unit end [@bs] type rect = _rect Js.t ``` now simplified into ``` class type rect = object method height : int [@set] method width : int [@set] method draw : unit -> unit end ``` cc @chenglou