This is fine, I was going to make it a context manager, but never did.