Remove duplicate def

Is this on purpose? If it is, I'd be curious why. If not, here's a pull request :-).