Fix incorrect use of mixin