revert to record syntax for newtypes until next major release