Use aliases in mixin function