Added type for DialFunc