Make sure argument wildcard replacement does not change argument types