wouldn't `utils.inherit` be a better choice?