Refactoring mixins.php.