This could be a class-level attribute.
Slightly simpler, slightly faster.