Eliminated all RefCell in favor of unsafe *mut.