Some little transformer improvements #23

Closed
linos wants to merge 4 commits from transformer_improvements into main

4 commits