Does it need to be a class attribute when it's only used in `run()`