Nice!  Clever - we repeat this so much everywhere, nice job encapsulating it.  I wonder if it's worth making it just a function though, rather than a mixin?  Non-blocking, may not be that great of an idea.  :)