Improve CommonJS compatibility (see #195), update protoify example with oneofs