Can we use `util.inherits()` here?