Refactoring master

More master refactoring.

Let's see what ye ol' Jenkins has to say about this.