Get rid of GameCoreBase::onDeath().