Removed unused Dup code.