remove definitions defined in other interfaces