Remove non-existent class references from tld