Using the context manager mixin class