I am new to OOP , and beside I alwasys read Transformer source code directly from GitHub, so I am not 100% sure what’s going on here 
I always go to the parent class straightforwardly too see the details
(or maybe use GitHub search within Repo)
But it’s great to see a pro trick here