WIP: More refactoring (if-statement-reversal).

Left to reverse is mixin, call, attribute and content. Additionaly the mixins should be scope specific and not allways global.