I recommend, atm, add the function to the modules, in this way, merging is easier :)

Anyway, I keep asking more experienced developers about adding this function to the mixin. Shouldn't be a big problem, but I need confirmation :)

Thanks very much for your contribution @digininja , I look forward to see more pull requests from  you :)