Mixin to extend objects to be handled like a Mutex
