Added Function/PF testing to sets and maps.