Remove duplicate declarations from examples