Remove some duplicates
Prepare generation of interface cast
Prepare generation of interface cast