From https://github.com/phetsims/phet-core/issues/50, we now have rich enumerations. Can we use that instead of `beforeFreeze` and delete `beforeFreeze`?