Classes and utilities for pure transformers