Changed OnLastLevel to static.