Fixes PEP8 compliance.
Fixes the interaction with settings.