removed typename corresponding to UnaryFunc name.
This was failing in Linux.