Add mixin functions.