Add __slots__ to mutable transaction classes