Fix problem with function having ambiguous signatures.