Black is hard to read.
Update changelog.
Don't use a class variable here.
Use proper functions where they exist, and move functions to better locations.