Remove dead code around CreateInterfaceObject