You can remove unused var `previousYieldAllowed` now.