Inlined a bunch of methods on value classes.