Dropping the `public` was the motivation for the other 50 lines of code.