Cosmetic cleanup of level loading code.