Fix missing piece in last commit.
type_traits: a change in the typedef detection machinery to make it support void as an argument.