Refactor schedulers configuration
Fixes PEP8 hinting issues.