Refactoring master

More master refactoring.

Let's see what ye ol' Jenkins has to say about this.
This was correct according to Pylint. I can revert them though.