Reuse Transformer code in AbstractProcess