Revert "Added function to create a dummy without using generics."

This reverts commit f6e7aa8d2d7ffe942e630894b974409a1166c8c6.