Remove duplicate interface definitions.