Since it contains a RefCell, I cannot store it in a thread-safe data structure. Perhaps it could internally use Mutex or RwLock instead?