This scares me. Is this class threadsafe? I don't think it should be.