This is in the `setup` function of the class, and was clearly a copy&paste from another class, but with not all the variables stored in `self.d`.