Centralize and allow customization of kryo classes.