Using [@bs.deriving abstract]