Remove double declarations