transformation/custom: Swap accessor regions

Swap the protected section with the public
section according to codestyle.