Use mutable slots instead of the interior mutability