Fix transformer definition