Transformers

Replaces layouts with transformers (which there may be many of).