Remoed unused entities and method references