This doesn't seem to be thread-safe.