Do you also mean the first checks on loadKML? I couldn't find any other unnecessary ones.