Update the onEnter dependencies to be minify safe.