Added a mixin function, updated the docs