Need to remove this not only from the `$state` entry, but also from the environment of the `@apply` function (and possibly others) .