Remove duplicate deffinitions