Remove remaining code from the OnEventManagerReady event.